scientific_comp_projects/CODE/[python]kattis/trivial/r2.py
2021-10-29 15:16:40 +02:00

7 lines
79 B
Python

numbers = input()
r1, s = numbers.split(' ')
r2 = int(s)*2-int(r1)
print(r2)