ice cream parlor hackerrank