scientific_comp_projects/CODE/[python]kattis/trivial/faktor.py

6 lines
84 B
Python
Raw Normal View History

2021-10-29 15:16:40 +02:00
into = input()
a, i = into.split(' ')
bribe = int(a)*(int(i) - 1) + 1
print(bribe)