Case #1: 60 Case #2: 27 Case #3: 31 Case #4: 0 Case #5: 9 Case #6: 0 Case #7: 824489226 Case #8: 228416209 Case #9: 14231442 Case #10: 31749050 Case #11: 871842030 Case #12: 496227686 Case #13: 740455790 Case #14: 687834190 Case #15: 415275284 Case #16: 815170510 Case #17: 737257432 Case #18: 204464835 Case #19: 550439741 Case #20: 328256461