Siddharth Bora's submission of The powerful 2 | CodeChef