Created
January 3, 2021 01:13
-
-
Save monhime/67af6b91a0d0d53615027f2c67f7c588 to your computer and use it in GitHub Desktop.
ABC187 A問題 解答
This file contains 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
import sys | |
def input(): return sys.stdin.readline().rstrip() | |
def main(): | |
a, b = input().split() | |
s_a = int(a[0]) + int(a[1]) + int(a[2]) | |
s_b = int(b[0]) + int(b[1]) + int(b[2]) | |
print(max(s_a, s_b)) | |
if __name__=='__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment