chandan's submission of ABABAABA | CodeChef