Abhinav's submission of XAndOr | CodeChef