Solution 1,5104, Execution time: 10 ms Solution 2,149220, Execution time: 123 ms