Solution 1,4950, Execution time: 1 ms Solution 2,1477, Execution time: 4 ms