fn run() { let mut s = String::new(); std::io::stdin().read_line(&mut s).unwrap(); let mut it = s.trim().split_whitespace(); let a: f64 = it.next().unwrap().parse().unwrap(); let b: f64 = it.next().unwrap().parse().unwrap(); let ans = (b - a).powi(3) / 6.0; println!("{:.5}", ans); } fn main() { run(); }