Dinesh Goyal's submission of Counting Mobiles | CodeChef