Solved euler 54