Supermarket Numbers

Click numbers to get the desired outcome shown on the left.