﻿from random import *

M=1
for i in range(3):
    n=randint(0,2)
    M=M*n
print(M)


