Max's submission of Gift Rift | CodeChef