Example 1
100

Test 1

Answer