a,b,x=map(int,input().split())
y=(a*x)+b
print(y)

2ea88ed4b126224047a0ad3d6158b9edc96f79ad
<mask token>

<mask token>
print(y)

a, b, x = map(int, input().split())
y = a * x + b
print(y)

a,b,x=map(int,input().split())
y=(a*x)+b
print(y)
