import std.stdio;
import std.conv;
import std.string;
import std.format;

void main()
{
  string s = chomp(readln());
  ulong a = to!long(s.split(" ")[0]);
  ulong b = to!long(s.split(" ")[1]);
  
  float af = to!float(s.split(" ")[0]);
  float bf = to!float(s.split(" ")[1]);

  writef("%d ", a/b);
  writef("%f ", af%bf);
  writefln("%f", af/bf);
}