W,Z,B = map(str,input().split()) W,Z = int(W),int(Z) ans = int(W+Z+(W*float(B))+(Z*float(B))) print(ans)