Save 25%Black Friday: 25% off all plans — use code BLACKFRIDAY2026 at checkout. Ends Friday, Dec 4.Claim the deal

A street runs along a number line from position 0 to position finish, where finish > 0. Your journey begins at 0 and ends at finish.

The array scooters contains the distinct starting positions of the electric scooters on the street. Each scooters[i] represents the initial position of the ithi^{\text{th}} scooter. A scooter can move at most 10 units to the right before its battery runs out. For example, a scooter starting at position 5 can travel as far as position 15, but cannot reach position 16 or beyond.

Test Cases
Input
Output
Expected