Skip to content
Snippets Groups Projects
15.py 137 B
Newer Older
hacker717's avatar
hacker717 committed
a, b = input(), input()
nums = [int(i) for i in sorted([a[0], a[1], b[0], b[1]])]

print(f"{nums[3]}{(nums[1] + nums[2]) % 10}{nums[0]}")