A chocolate bar of size 2×2×2×2×n sits in a five-dimensional world. It consists of 16n unit cubes.
You want to cut it into 8n pieces of size 1×1×1×1×2. Write a program that counts the ways to cut it.
The orientation of a piece does not matter, so 1×1×1×2×1 and 2×1×1×1×1 are possible sizes too. Two ways are counted as different when some piece covers a different pair of unit cubes.