import random
x = random.randint(1,50)
y = random.randint(2,5)
z = x ** y
print(x)
print(y)
print(z)

import random
x = random.randint(1,50)
y = random.randint(2,5)
z = x ** y
print(x)
print(y)
print(z)
