Solve problem 66 using Rust.