[Euler] Add solution for #168.