CodeChef Starters 132 Solution Discussion (finished)