def product(x):
    s = 1
    n = len(x)
    print "length"
    print n
    i = 0
    print "::::product of a list::::"
    while i<n:
	s = s * x[i]
	i += 1
    


    print s



product([1, 2, 3, 4, 5])
