use std::io::Read; fn main() { let mut s = String::new(); std::io::stdin().read_to_string(&mut s).ok(); let s: &str = s.trim().split('\n').next().unwrap().trim(); println!("{}", (s.len() as i32 - 10i32).abs()); }