from random import *

def Prod():
    M=1
    for i in range(1,4):
        n=randint(0,2)
        M=M*n
    return M






