Euler Solution in diffferent language