Problem2 in Euler