function arithmetic (a = int(readline()), b = int(readline()))
for op in [+,-,*,div,rem]
println("a $op b = $(op(a,b))")
end