002: Solve in C, Go, Python and Rust