a = int(input())
b = int(input())

print(a + b)
print(a - b)
print(a / b)
print(a * b)

# integer division operator // int(a / b)
print(a // b)

# Power operator (a ^ b)
print(a ** b)

# Modulus operator a % b --> a mod b  [a - b * (a // b)]
print(a % b)
