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