Case #1: 10 Case #2: 0 Case #3: 3 Case #4: 9 Case #5: 18 Case #6: 5000050000 Case #7: 4447875291 Case #8: 4444789339 Case #9: 4442082364 Case #10: 999955 Case #11: 0 Case #12: 1 Case #13: 246753 Case #14: 193131 Case #15: 286146 Case #16: 176715 Case #17: 348195 Case #18: 179700 Case #19: 427350 Case #20: 365940 Case #21: 250278 Case #22: 241860 Case #23: 183315 Case #24: 261003 Case #25: 360825 Case #26: 154290 Case #27: 241860 Case #28: 203203 Case #29: 306153 Case #30: 141778 Case #31: 170820 Case #32: 243951 Case #33: 305371 Case #34: 411778 Case #35: 404550 Case #36: 140185 Case #37: 376278 Case #38: 240471 Case #39: 378885 Case #40: 125250 Case #41: 429201 Case #42: 187578 Case #43: 246753 Case #44: 190653 Case #45: 269011 Case #46: 271216 Case #47: 409060 Case #48: 158203 Case #49: 287661 Case #50: 431056 Case #51: 368511 Case #52: 284635 Case #53: 137026 Case #54: 139656 Case #55: 220780