Skip to content

Instantly share code, notes, and snippets.

@cyberlex404
Created October 25, 2016 19:02
Show Gist options
  • Select an option

  • Save cyberlex404/339f71ef264e82969af2e2228cf1eeb5 to your computer and use it in GitHub Desktop.

Select an option

Save cyberlex404/339f71ef264e82969af2e2228cf1eeb5 to your computer and use it in GitHub Desktop.
s = list(map(int, input().split()))
#input()
print(s)
if s[0] < s[1]:
print(2 * s[0] - 1)
elif s[0] > s[1]:
print(2 * s[1] - 1)
elif s[0] == s[1]:
print(2 * s[1] - 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment