import math
from random import randrange
x = 0
x = input()
y = 0
y = input()
w = 0
w = input()
print(x * y * w)
print(y * w)
print(x / y)
print(y - w)
import math
from random import randrange
x = 0
x = input()
y = 0
y = input()
w = 0
w = input()
print(x * y * w)
print(y * w)
print(x / y)
print(y - w)