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