import random
num1 = random.randint(1, 6)
num2 = random.randint(1, 6)
num3 = random.randint(1, 6)
num = str(num1) + str(num2) + str(num3)
print(int(num) ** 2)
import random
num1 = random.randint(1, 6)
num2 = random.randint(1, 6)
num3 = random.randint(1, 6)
num = str(num1) + str(num2) + str(num3)
print(int(num) ** 2)