Day 23: Last Minute Christmas Rush!
- \(A\) (buying Christmas food and presents) must be done before \(B\) (preparing food).
- \(E\) (making math problems for his friends) must be done as one of the first four activities (because he thinks better in the morning).
For example, one valid way is \(ABCEDFG\). In total, how many ways are there for him to do the activities?
This problem is part of the set Advent Calendar 2014.