fn main() { let mut xx = String::new(); std::io::stdin().read_line(&mut xx).ok(); let xx: Vec = xx.split_whitespace().flat_map(str::parse).collect(); println!("{}", (23..=25).filter(|&n| xx[0] > n || n > xx[1]).count()); }