For every positive integer n, let an denote the number of ways n is obtained as a sum of terms that are all 1, 3 or 4. The order of the terms also matters. Prove that a2006a2007a2008 is a perfect cube.