solution to QualifA Afriqua 2010