fun main(args: Array<String>) {
    val strArr = readLine()!!.split(" ")
    val intArr = strArr.map { it.toInt() }
    val dblArr = strArr.map { it.toDouble() }
    println("%d %d %f".format(intArr[0]/intArr[1], intArr[0]%intArr[1], dblArr[0]/dblArr[1]))
}
