chandan's submission of Gift Rift | CodeChef