7.M与N的数学运算
M=eval(input())
N=int (eval(input()))
a=M+N
b=M*N
c=pow(float(M),float(N))
d=M%N
if M>N:
e=M
else:
e=N
print(a,b,c,d,e)

M=eval(input())
N=int (eval(input()))
a=M+N
b=M*N
c=pow(float(M),float(N))
d=M%N
if M>N:
e=M
else:
e=N
print(a,b,c,d,e)
