import sys input = sys.stdin.readline W,Z,B=map(float,input().split()) print(round((W+Z)*(1+B)))