a,b,c = map(float, input().split()) print(int(a+b+a*c+b*c))