apple pie's submission of Odd Repeat | CodeChef