1.
a, b = map(int, input().split())
print(abs(a - b))
2.
a, b, c = map(int, input().split())
print((a % 10) * (b % 10) * (c % 10))
3.
print(6 * (int(input())) ** 2)
1.
a, b = map(int, input().split())
print(abs(a - b))
2.
a, b, c = map(int, input().split())
print((a % 10) * (b % 10) * (c % 10))
3.
print(6 * (int(input())) ** 2)