Solution to question A of 2008 Quals