Devesh Agarwal's submission of Ready Bitwise | CodeChef