Solved 135. 228 seconds
Update 135. Use a less brute-force method. 13.5 seconds