Definition: In this task, you're given a review from Amazon. Your task is to generate a rating for the product on a scale of 1-5 based on the review. The rating means 1: extremely poor, 2: poor, 3: neutral, 4: good, 5: extremely good.
Input: This bubble machine is a lot smaller than I imagined in my head, which worked out perfectly because it's easier to take with you. The batteries are easy to install. To pour the bubbles in it, you need to be careful because it is an awkward angle. For me, that isn't an issue after I became aware of it after spilling a little bit of the liquid. Using the machine is great; my toddler and dog love the bubbles and have been endlessly playing with them.
Output:
5