Ivan Deka's submission of Oh My Hats | CodeChef