Question 7
Mirko the beaver works in a factory. His job is to weigh watermelons and pack them into a box weighing exactly 20 kg.

| Belt order from left to right | 6 | 1 | 5 | 3 | 7 | 9 | 4 | 8 |
|---|---|---|---|---|---|---|---|---|
The watermelons travel towards Mirko on the conveyor belt shown. Mirko takes them in order, puts each on the scale and checks the total weight:
- If the total is at most 20 kg, he leaves that watermelon on the scale.
- If the total exceeds 20 kg, he removes that watermelon.
He continues until he has exactly 20 kg, then stops. How many watermelons are in the 20 kg box?

| Belt order from left to right | 6 | 1 | 5 | 3 | 7 | 9 | 4 | 8 |
|---|---|---|---|---|---|---|---|---|
The watermelons travel towards Mirko on the conveyor belt shown. Mirko takes them in order, puts each on the scale and checks the total weight:
- If the total is at most 20 kg, he leaves that watermelon on the scale.
- If the total exceeds 20 kg, he removes that watermelon.
He continues until he has exactly 20 kg, then stops. How many watermelons are in the 20 kg box?