apple pie's submission of Odd Sum | CodeChef