Solved euler10