Run ID:91433
提交时间:2024-09-21 19:08:05
s=input().split() b=int(s[1]) a=int(s[0]) c=int(s[2]) f=b-a n=b+(c-2)*f print(n)