100

10 0

2 1000

3 2

12 1000

1000 900

999 953

7 999

100 999

1 1000

3 1

4 3

1000 0

1 1000000000

1 999999999

1 548965137

2 1000000000

3 1000000000

4 1000000000

5 1000000000

6 999999999

7 999999999

8 999999999

10 999999999

1000 1000000000

1 0

1 1

2 0

2 1

2 2

2 3

2 4

2 5

3 3

4 2

5 2

5 3

5 4

991 1000000000

991 999999271

992 742571495

992 999999488

513 999948800

771 999922770

841 999999000

392 999999704

841 999999630

841 499999500

865 865000000

444 900099805

1000 999999999

544 110970105

610 236130976

601 590500378

827 671794128

103 425849554

260 61980526

109 343319992

877 862368581

811 670065477

956 709060170

36 368916403

857 444116083

907 134618442

89 606386611

14 491447352

475 407944918

28 95142829

246 104347022

31 641745959

265 484087894

477 964540600

330 384516522

159 399528080

884 541302512

980 533299713

575 67287095

115 268200101

144 60976276

651 235815681

579 413384604

191 731035235

212 560194812

614 915798112

125 894037021

682 886641116

11 666367796

613 763899366

326 13249621

140 595606097

760 21244588

416 647794848

924 509117739

662 679970069

689 873723373

99 646174052

647 362852320

562 624609010

622 41465959

375 909024052

401 111726637
