Ответ:

# put your python code here

a1 = int(input())

d = int(input())

n = int(input())

print(a1+d*(n-1))