본문 바로가기

Programming [Python]/백준 알고리즘 솔루션

#169 백준 파이썬 [2914] 저작권

https://www.acmicpc.net/problem/2914

 

#Solution

A, I = map(int, input().split())
print(A*(I-1)+1)