Created
October 25, 2016 19:02
-
-
Save cyberlex404/339f71ef264e82969af2e2228cf1eeb5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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