1:
firstNum = int(input())
print(firstNum)
print(firstNum+1)
print(firstNum+2)
2:
a = int(input())
print("S =", a*a)
print("V =", a*a*a)
3:
n = str(input())
print("Sum =", int(n[0]) + int(n[1]) + int(n[2]))
print("Mul =", int(n[0]) * int(n[1]) * int(n[2]))