LeetCode Solution, Easy, 195. Tenth Line