
object Main {
  def main(args: Array[String]): Unit = {
    val in = new java.util.Scanner(System.in)
    val a = in.nextInt
    val b = in.nextInt
    val c:Double = b toDouble
    
    println(a/b)
    println(a%b)
    println(a/c)
    
  }
}