ljl's submission of Gift Rift | CodeChef