The Beggar Class 9 Solution