object Main {
  def main (args: Array[String]) {
    var count:Int = 0
    val Array(v1, v2) = scala.io.StdIn.readLine.split(" ").map(_.toLong)
    println( (v1 / v2) + " " + (v1 % v2) + " " +  (v1.toFloat / v2.toFloat) )
  }
}