Solution of Euler problem