CodeChef Starters 125 Solution Discussion (finished)