The Students at Sunnyside School built a rectangular pyramid of aluminum cans for a world record. The top layer had 2 rows with 3 cans in each row. The second layer had 4 rows of 6 cans. The third layer had 8 rows of 12 cans. How many cans were in the eighth layer of the pyramid?