solution of euler 351