let (a, b) = Scanf.scanf "%d %d\n" (fun a b -> a, b)

let () =
  print_int @@ a / b; print_string " ";
  print_int @@ a mod b; print_string " ";
  let f = (float_of_int a) /. (float_of_int b) in
  print_endline @@ string_of_float f