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