#### Жишээ тэстүүд

##### Оролт
24

##### Гаралт
5

## Тэмдэглэл

In the first test sample the minimum number of operations can be reached by the following sequence of subtractions:

24 → 20 → 18 → 10 → 9 → 0