Case #1: 1 Case #2: 4 Case #3: -1 Case #4: 7 Case #5: -1 Case #6: 5172260357 Case #7: 0 Case #8: 175394700 Case #9: -1 Case #10: 999999 Case #11: 0 Case #12: 0 Case #13: 499999999000000 Case #14: 124999750000 Case #15: -1 Case #16: -1 Case #17: -1 Case #18: 12308870560 Case #19: -1 Case #20: 11882489538 Case #21: 159471564 Case #22: -1 Case #23: -1 Case #24: 9636269490 Case #25: 15352944649 Case #26: 32649787784 Case #27: -1 Case #28: -1 Case #29: -1 Case #30: 16118694208 Case #31: -1 Case #32: 254397027940 Case #33: -1 Case #34: 19241542534 Case #35: -1 Case #36: 387532800 Case #37: -1 Case #38: -1 Case #39: 5568440256 Case #40: -1 Case #41: -1 Case #42: -1 Case #43: 6767739420 Case #44: -1 Case #45: 1019482112 Case #46: -1 Case #47: 124122421497 Case #48: 4939100868 Case #49: -1 Case #50: -1 Case #51: 1205904 Case #52: 1456004160 Case #53: -1 Case #54: 14382568255 Case #55: -1 Case #56: -1 Case #57: -1 Case #58: 9131151120 Case #59: -1 Case #60: -1 Case #61: 4937511852 Case #62: -1 Case #63: -1 Case #64: -1 Case #65: -1 Case #66: 14747973586 Case #67: 0 Case #68: 147368003994 Case #69: -1 Case #70: 42362663616 Case #71: -1 Case #72: -1 Case #73: 34864247904 Case #74: -1 Case #75: -1 Case #76: 50201788 Case #77: -1 Case #78: 5453741304 Case #79: -1 Case #80: 192885975043 Case #81: 243904596 Case #82: -1 Case #83: -1 Case #84: 4752034225 Case #85: 8895905382 Case #86: -1 Case #87: -1 Case #88: 1196827800 Case #89: -1 Case #90: -1 Case #91: 1660660430 Case #92: -1 Case #93: -1 Case #94: 463713152 Case #95: -1 Case #96: 6386688 Case #97: -1 Case #98: -1 Case #99: 5431262265 Case #100: 31824873432 Case #101: -1 Case #102: -1 Case #103: -1 Case #104: -1 Case #105: 20181388656 Case #106: -1 Case #107: -1 Case #108: -1 Case #109: -1 Case #110: -1