w,z,b = input().split() w,z = int(w),int(z) b = float(b) print(int((w+z)*(1+b)))