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