CodeChef Starters 113 Solution Discussion (finished)