Run ID:90373

提交时间:2024-09-12 20:33:01

s=input().split() a=int(s[0]) b=int(s[1]) c=int(s[2]) print((b-a)*(c-2)+b)