We calculate the trailing zeroes of each of 100!, 200!, 300!, and 400!.
Note that we have this nice formula for calculating the trailing zeroes of n! : # trailing zeros=∞∑k=1⌊n5k⌋.
Then 100! has ⌊1005⌋+⌊10052⌋=24 trailing zeros.
Similarly, 200! has 49 trailing zeros, 300! has 74 trailing zeros, and 400! has 99 trailing zeros.
Then, (100!)(200!)(300!)(400!) has 24 + 49 + 74 + 99 = 246 trailing zeros.