Case #1: 3 Case #2: 18 Case #3: 20 Case #4: 2464 Case #5: 790446393