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