Aman Singhal's submission of Paper Cube | CodeChef