a=float(input())
b=float(input())
print(a+b)
print(a-b)
print(a*b)
print(a/b)
print(a//b)
print(a%b)
print(a**b)
YT1mbG9hdChpbnB1dCgpKQpiPWZsb2F0KGlucHV0KCkpCnByaW50KGErYikKcHJpbnQoYS1iKQpwcmludChhKmIpCnByaW50KGEvYikKcHJpbnQoYS8vYikKcHJpbnQoYSViKQpwcmludChhKipiKQo=