Finished Euler 17