2009 qra problem B solved