006: Solve in C, C++, Go, Javascript, Lua, Python, Ruby and Rust