Euler: U6

Compile-time solution.