# Matrix Product Using list comprehension + loop

def prod(val) :
	res = 1
	for ele in val:
		res *= ele
	return res

test_list = [[9, 8, 4], [7], [4, 6,9], [53, 70, 3]]

print("The original list : " + str(test_list))

res = prod([ele for sub in test_list for ele in sub])

print("The total element product in lists is : " + str(res))
