Solution for 404 based on solving x^2+y^2=z^2 (runs in 3mins).