Add Euler problem 27