fun main(args: Array<String>) {
    val fl = readLine()!!.split(" ").map { it.toInt() }
    val a = fl[0]
    val b = fl[1]
    println(listOf(a / b, a % b, "%.5f".format(a.toDouble() / b)).joinToString(" "))
}
