1418 Shopping Puzzle