Case #1: 500000005 Case #2: 2 Case #3: 3 Case #4: 480000006 Case #5: 744000007 Case #6: 344000005 Case #7: 575944518 Case #8: 925841127 Case #9: 256354701 Case #10: 542873565 Case #11: 690669945 Case #12: 253885328 Case #13: 449851090 Case #14: 43239667 Case #15: 355115214 Case #16: 837285316 Case #17: 118417126 Case #18: 397931947 Case #19: 466633521 Case #20: 926522688 Case #21: 99477890 Case #22: 513581532 Case #23: 755427406 Case #24: 561262273 Case #25: 994066380 Case #26: 430824313 Case #27: 837411399 Case #28: 542488861 Case #29: 142371496 Case #30: 333038126 Case #31: 812484947 Case #32: 577213103 Case #33: 866741521 Case #34: 707705277 Case #35: 381852750 Case #36: 249896143 Case #37: 38200878 Case #38: 80607269 Case #39: 946266248 Case #40: 878222259 Case #41: 650570895 Case #42: 691138002 Case #43: 890826968 Case #44: 945783526 Case #45: 53565785 Case #46: 414141762 Case #47: 629511557 Case #48: 80970001 Case #49: 679307027 Case #50: 508240115 Case #51: 104825486 Case #52: 656632799 Case #53: 21180381 Case #54: 959743233 Case #55: 53230306 Case #56: 366604002 Case #57: 166131307 Case #58: 860796422 Case #59: 259871082 Case #60: 185112203 Case #61: 782834611 Case #62: 234775253 Case #63: 590819476 Case #64: 952134372 Case #65: 324470709 Case #66: 886285676 Case #67: 710922998 Case #68: 447102894 Case #69: 199751949 Case #70: 100884329 Case #71: 640125915 Case #72: 516186385 Case #73: 710517112 Case #74: 342288304 Case #75: 23223986 Case #76: 373923577 Case #77: 62082346 Case #78: 341494413 Case #79: 467863140 Case #80: 630891569 Case #81: 735131320 Case #82: 646414552 Case #83: 498854125 Case #84: 12312854 Case #85: 654979437 Case #86: 432760449 Case #87: 642866790 Case #88: 368643261 Case #89: 866030376 Case #90: 347654393 Case #91: 812211375 Case #92: 607302652 Case #93: 631470093 Case #94: 915677856 Case #95: 123861210 Case #96: 738858567 Case #97: 409728471 Case #98: 779313212 Case #99: 661934441 Case #100: 330501821 Case #101: 845675208 Case #102: 938053748 Case #103: 463853176 Case #104: 155254265 Case #105: 655471305 Case #106: 145479238 Case #107: 461716048 Case #108: 479751024 Case #109: 927907670 Case #110: 389830221 Case #111: 888413315 Case #112: 716483085 Case #113: 248502151 Case #114: 470074291 Case #115: 88800450 Case #116: 254357389 Case #117: 257782250 Case #118: 635107302 Case #119: 861470423 Case #120: 528451535 Case #121: 401721214 Case #122: 756985945 Case #123: 340928263 Case #124: 383009309 Case #125: 706484558 Case #126: 202624270 Case #127: 551081999 Case #128: 174279483 Case #129: 237278587 Case #130: 180387472 Case #131: 35088433 Case #132: 563136729 Case #133: 420371343 Case #134: 131203221 Case #135: 4017276 Case #136: 698826183 Case #137: 85873823 Case #138: 917641405 Case #139: 269521102 Case #140: 331261325 Case #141: 911427598 Case #142: 982363086 Case #143: 185122653 Case #144: 192926935 Case #145: 846389654 Case #146: 139456736 Case #147: 107144470 Case #148: 491438750 Case #149: 609873833 Case #150: 187553143 Case #151: 137247917 Case #152: 485340322 Case #153: 438048389 Case #154: 889926868 Case #155: 536217903 Case #156: 950604406 Case #157: 450212383 Case #158: 776294822 Case #159: 520841060 Case #160: 744752703 Case #161: 832692811 Case #162: 200653787 Case #163: 212589825 Case #164: 998432205 Case #165: 208790691 Case #166: 556604044 Case #167: 338558436 Case #168: 825814353 Case #169: 603835956 Case #170: 272806641 Case #171: 682447048 Case #172: 463686176 Case #173: 452091721 Case #174: 863229781 Case #175: 274370061 Case #176: 287076101 Case #177: 817556604 Case #178: 921323861 Case #179: 220853521 Case #180: 756258230 Case #181: 664866359 Case #182: 349516805 Case #183: 219485816 Case #184: 824100512 Case #185: 716811388 Case #186: 856183440 Case #187: 316800362 Case #188: 751338943 Case #189: 162040962 Case #190: 636361847 Case #191: 205373586 Case #192: 66195989 Case #193: 247351252 Case #194: 437768129 Case #195: 869200330 Case #196: 128814233 Case #197: 343977809 Case #198: 781310780 Case #199: 474171454 Case #200: 679796425 Case #201: 958331384 Case #202: 204593486 Case #203: 106840457 Case #204: 788701916 Case #205: 400349938 Case #206: 657415687 Case #207: 129922712 Case #208: 551650922 Case #209: 586796484 Case #210: 205454194 Case #211: 752974897 Case #212: 487487917 Case #213: 707434650 Case #214: 569696767 Case #215: 578022264 Case #216: 466847480 Case #217: 714606836 Case #218: 301448634 Case #219: 479672383 Case #220: 265004174 Case #221: 800134325 Case #222: 212570015 Case #223: 317847156 Case #224: 715468664 Case #225: 890113610 Case #226: 622285148 Case #227: 947851819 Case #228: 438186905 Case #229: 476784192 Case #230: 245308082 Case #231: 854240847 Case #232: 530391387 Case #233: 795777573 Case #234: 70832893 Case #235: 942365039 Case #236: 549754406 Case #237: 863015323 Case #238: 718861562 Case #239: 249163225 Case #240: 964232548 Case #241: 824873790 Case #242: 542462994 Case #243: 36139295 Case #244: 574570533 Case #245: 402489375 Case #246: 452412439 Case #247: 652023299 Case #248: 664259137 Case #249: 172232217 Case #250: 314667812 Case #251: 516463528 Case #252: 18495016 Case #253: 49418144 Case #254: 716732487 Case #255: 885436145 Case #256: 851858678 Case #257: 974494769 Case #258: 407131636 Case #259: 86316284 Case #260: 470364613 Case #261: 937802728 Case #262: 136853305 Case #263: 733249389 Case #264: 951629221 Case #265: 478851015 Case #266: 9149783 Case #267: 87836853 Case #268: 240249234 Case #269: 704657805 Case #270: 954482099 Case #271: 255896172 Case #272: 117439681 Case #273: 560251192 Case #274: 995599699 Case #275: 933971439 Case #276: 849632893 Case #277: 522781571 Case #278: 716883436 Case #279: 148822950 Case #280: 59232564 Case #281: 706937468 Case #282: 942276127 Case #283: 461795648 Case #284: 860612381 Case #285: 729747232 Case #286: 368235499 Case #287: 792137307 Case #288: 321739344 Case #289: 633315044 Case #290: 159649763 Case #291: 80325383 Case #292: 6433584 Case #293: 923017584 Case #294: 293232012 Case #295: 625643422 Case #296: 682150649 Case #297: 965743486 Case #298: 704380085 Case #299: 705479373 Case #300: 586498769 Case #301: 735114013 Case #302: 842758811 Case #303: 550488763 Case #304: 973949394 Case #305: 709383220 Case #306: 117382873 Case #307: 844450220 Case #308: 784039250 Case #309: 434671406 Case #310: 427809412 Case #311: 163616464 Case #312: 645364894 Case #313: 479011306 Case #314: 388243875 Case #315: 935399363 Case #316: 612405007 Case #317: 136418377 Case #318: 947172332 Case #319: 683612106 Case #320: 950697080 Case #321: 306101467 Case #322: 559490432 Case #323: 794906308 Case #324: 700941692 Case #325: 602892381 Case #326: 662519098 Case #327: 668483275 Case #328: 114105950 Case #329: 375843129 Case #330: 471651649 Case #331: 921960156 Case #332: 409432535 Case #333: 118204616 Case #334: 980825636 Case #335: 883388652 Case #336: 466903714 Case #337: 312901201 Case #338: 535104697 Case #339: 878956779 Case #340: 997676828 Case #341: 936078735 Case #342: 488261644 Case #343: 355658511 Case #344: 671625874 Case #345: 655987396 Case #346: 155871168 Case #347: 768176464 Case #348: 939870570 Case #349: 91971928 Case #350: 663017715 Case #351: 402200098 Case #352: 759773983 Case #353: 288073695 Case #354: 164514380 Case #355: 493190103 Case #356: 956858611 Case #357: 861705893 Case #358: 842593563 Case #359: 723437331 Case #360: 265970806 Case #361: 700707259 Case #362: 197411193 Case #363: 226824981 Case #364: 408350376 Case #365: 158475893 Case #366: 430471140 Case #367: 856761459 Case #368: 297005114 Case #369: 406319695 Case #370: 939847406 Case #371: 780554862 Case #372: 312393332 Case #373: 625213018 Case #374: 731159333 Case #375: 122120658 Case #376: 258562896 Case #377: 266340481 Case #378: 647930134 Case #379: 608993438 Case #380: 90237294 Case #381: 466697853 Case #382: 997973017 Case #383: 90420062 Case #384: 515239480 Case #385: 496907496 Case #386: 965752177 Case #387: 717979345 Case #388: 52983351 Case #389: 155742286 Case #390: 965162000 Case #391: 839389255 Case #392: 842906769 Case #393: 534245389 Case #394: 440047731 Case #395: 334182048 Case #396: 352115147 Case #397: 125814182 Case #398: 532494074 Case #399: 319996821 Case #400: 347106494 Case #401: 62694996 Case #402: 269711799 Case #403: 40796936 Case #404: 328830498 Case #405: 156831760 Case #406: 888037634 Case #407: 913287589 Case #408: 55108815 Case #409: 91039249 Case #410: 110384328 Case #411: 391584407 Case #412: 864261806 Case #413: 514254866 Case #414: 654401243 Case #415: 695494834 Case #416: 331260153 Case #417: 694602871 Case #418: 997218681 Case #419: 34092742 Case #420: 172446083 Case #421: 779018968 Case #422: 446445363 Case #423: 265979713 Case #424: 23351107 Case #425: 872338667 Case #426: 298917563 Case #427: 514943077 Case #428: 789077649 Case #429: 363279984 Case #430: 267223895 Case #431: 350769421 Case #432: 541145461 Case #433: 924592325 Case #434: 138989765 Case #435: 439891578 Case #436: 681723427 Case #437: 682053771 Case #438: 128148788 Case #439: 574461839 Case #440: 592173362 Case #441: 886881200 Case #442: 118373343 Case #443: 621822023 Case #444: 303132114 Case #445: 266120022 Case #446: 636598250 Case #447: 876522876 Case #448: 455266706 Case #449: 302284469 Case #450: 884685847 Case #451: 20368243 Case #452: 883330473 Case #453: 564166323 Case #454: 73208606 Case #455: 569489251 Case #456: 686113173 Case #457: 953938283 Case #458: 37847592 Case #459: 534048121 Case #460: 122460997 Case #461: 831618282 Case #462: 813201886 Case #463: 657749822 Case #464: 502763025 Case #465: 979135439 Case #466: 642163631 Case #467: 408130553 Case #468: 645540257 Case #469: 155125651 Case #470: 327179457 Case #471: 25634627 Case #472: 118656981 Case #473: 759459678 Case #474: 264127662 Case #475: 901694786 Case #476: 692759273 Case #477: 602109567 Case #478: 703292508 Case #479: 287178621 Case #480: 649064213 Case #481: 261250096 Case #482: 385650268 Case #483: 891697779 Case #484: 865855600 Case #485: 426874886 Case #486: 528329818 Case #487: 61969388 Case #488: 297774553 Case #489: 709849233 Case #490: 668108393 Case #491: 930034691 Case #492: 948144124 Case #493: 45348475 Case #494: 908852826 Case #495: 461306381 Case #496: 674483753 Case #497: 887424620 Case #498: 225343213 Case #499: 206547321 Case #500: 85831769 Case #501: 307222163 Case #502: 341467675 Case #503: 783663607 Case #504: 711363389 Case #505: 946355676 Case #506: 134341397 Case #507: 611621953