use std::cmp::max; //{{{ #[allow(unused_macros)] macro_rules! getl { ( $( $t:ty ),* ) => { { let mut s = String::new(); std::io::stdin().read_line(&mut s).unwrap(); let s = s.trim_right(); let mut ws = s.split_whitespace(); ($(ws.next().unwrap().parse::<$t>().unwrap()),*) } }; } #[allow(unused_macros)] macro_rules! getl_vec { ( $t:ty ) => {{ let mut s = String::new(); std::io::stdin().read_line(&mut s).unwrap(); let s = s.trim_right(); s.split_whitespace() .map(|x| x.parse().unwrap()) .collect::>() }}; } //}}} // p + q + r = 1とする // pを選ぶ // Stayの場合 // 確率はp // Changeの場合 // 確率はq + r fn main() { let (p, q, r) = getl!(i64, i64, i64); let mut ans = p; ans = max(ans, q); ans = max(ans, r); ans = max(ans, p + q); ans = max(ans, q + r); ans = max(ans, r + p); println!("{}", (ans as f64) / (p + q + r) as f64); }