2009 qra problem C solved