CodeChef Starters 136 Solution Discussion (finished)