newton/solutions/rust/281A.rs

8 lines
164 B
Rust

use std::io;
fn main() {
let mut s = String::new();
io::stdin().read_line(&mut s).unwrap();
print!("{}{}", s[0..1].to_uppercase(), &s[1..s.len()]);
}