Euler library
problem 51
problem 51