println!("Enter a list of numbers, one per line. End with Ctrl-D.");
for line in stdin.lock().lines() {
// Rust's type for (dynamic, growable) strings is `String`. However, our variable `line`
println!("Enter a list of numbers, one per line. End with Ctrl-D.");
for line in stdin.lock().lines() {
// Rust's type for (dynamic, growable) strings is `String`. However, our variable `line`