use std::io::Read; fn main() { let mut s = String::new(); std::io::stdin().read_to_string(&mut s).ok(); let s: Vec = s.trim().split('\n').next().unwrap().trim().split_whitespace().map(|a| a.parse::().unwrap()).collect(); let dec = s[0] / s[1]; let mut ee = s[0] % s[1]; let er = s[1]; let mut below0: Vec = vec![]; for _ in 0..50 { ee *= 10; below0.push(ee / er); ee = ee % er; } println!("{}.{}", dec, below0.iter().map(|a| a.to_string()).collect::>().join("")); }