import scala.io.StdIn.readLine
import Math.sqrt

object Main {

  def main(args: Array[String]) = {
      val Array(a,b) = readLine.split(" ").map(_.toInt)
      print(a/b);print(" ");print(a%b);print(" ");println("%.5f".format(a.toDouble/b))
  }
}