Case #1: 3 14 Case #2: 4 23 Case #3: 6 36 Case #4: 5 26 Case #5: 221 999010984 Case #6: 1 104 Case #7: 51 1310722 Case #8: 148 9950 Case #9: 265 997889184 Case #10: 267 999770503 Case #11: 141 994688589 Case #12: 76459 999984247 Case #13: 61629 999997215 Case #14: 57789 999979748 Case #15: 57938 999976875 Case #16: 59908 999995115 Case #17: 58553 999998637 Case #18: 3002 999948670 Case #19: 286 997367791 Case #20: 5430 999755709 Case #21: 2677 999945822 Case #22: 4492 141534770 Case #23: 2455 33111871 Case #24: 2047 43180997 Case #25: 9575 509561173 Case #26: 1537 78345840 Case #27: 2015 29757178 Case #28: 4093 162030869 Case #29: 817 26131630 Case #30: 198 5123239 Case #31: 894 45870932 Case #32: 3841 237869861 Case #33: 9253 150442692 Case #34: 2638 87757768 Case #35: 3511 184935367 Case #36: 2353 45559544 Case #37: 6675 329260607 Case #38: 3709 117753646 Case #39: 347 11682249 Case #40: 4152 204120609 Case #41: 3343 64786058 Case #42: 428 12043874 Case #43: 7234 311476247 Case #44: 2090 51739069 Case #45: 1295 23101228 Case #46: 2577 71665978 Case #47: 5214 181767826 Case #48: 9623 202288811 Case #49: 4625 176851786 Case #50: 3528 264552164 Case #51: 2832 127864345 Case #52: 2941 641422045 Case #53: 1916 346114895 Case #54: 2531 804386171 Case #55: 2924 48866064 Case #56: 1721 268184369 Case #57: 666 170206297 Case #58: 1131 765785754 Case #59: 1779 574588986 Case #60: 3286 184835810 Case #61: 2144 442039845 Case #62: 953 911131231 Case #63: 2618 416222414 Case #64: 1637 859817523 Case #65: 5 580584266 Case #66: 2915 968142845 Case #67: 2702 186700371 Case #68: 197 700885469 Case #69: 274 130489238 Case #70: 2884 340922541 Case #71: 585 943767728 Case #72: 2344 840231492 Case #73: 3665 80055635 Case #74: 1878 124754905 Case #75: 117 129818708 Case #76: 2515 767581829 Case #77: 3199 549631254 Case #78: 2761 702523631 Case #79: 2404 518432270 Case #80: 2606 3190484 Case #81: 2059 405585000