use std::io::*; fn main() { let mut s: String = String::new(); std::io::stdin().read_to_string(&mut s).ok(); let mut itr = s.trim().split_whitespace(); let p: usize = itr.next().unwrap().parse().unwrap(); let c: usize = itr.next().unwrap().parse().unwrap(); let mut ans = 1.0; for _ in 0..p { ans *= 41.0 / 6.0; } for _ in 0..c { ans *= 49.0 / 6.0; } println!("{:.10}", ans) }