Euler C solution #25