let divisor a b =
  let i = a / b in
  let q = a mod b in
  let f = (float_of_int a)/. (float_of_int b) in
  print_string ((string_of_int i)^" "^(string_of_int q)^" ");
  Printf.printf "%.10f\n" f

let f s = Scanf.sscanf s "%d %d" divisor ;;
f (read_line ()) ;;
