import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
Formatter frm=new Formatter();
int a=scan.nextInt();
int b=scan.nextInt();
int d=a/b;
int r=a%b;
frm.format("%.5f",(double)a/b);
System.out.println(d+" "+r+" "+frm);
}} import java.util.*; util.* java public class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
Formatter frm=new Formatter();
int a=scan.nextInt();
int b=scan.nextInt();
int d=a/b;
int r=a%b;
frm.format("%.5f",(double)a/b);
System.out.println(d+" "+r+" "+frm);
}} Main public static void main(String[] args){
Scanner scan=new Scanner(System.in);
Formatter frm=new Formatter();
int a=scan.nextInt();
int b=scan.nextInt();
int d=a/b;
int r=a%b;
frm.format("%.5f",(double)a/b);
System.out.println(d+" "+r+" "+frm);
} main {
Scanner scan=new Scanner(System.in);
Formatter frm=new Formatter();
int a=scan.nextInt();
int b=scan.nextInt();
int d=a/b;
int r=a%b;
frm.format("%.5f",(double)a/b);
System.out.println(d+" "+r+" "+frm);
} Scanner scan=new Scanner(System.in); scan new Scanner(System.in) Formatter frm=new Formatter(); frm new Formatter() int a=scan.nextInt(); a scan.nextInt() scan.nextInt scan int b=scan.nextInt(); b scan.nextInt() scan.nextInt scan int d=a/b; d a/b a b int r=a%b; r a%b a b frm.format("%.5f",(double)a/b) frm.format frm "%.5f" (double)a/b (double)a b System.out.println(d+" "+r+" "+frm) System.out.println System.out System System.out d+" "+r+" "+frm " " r d+" "+r+" "+frm d " " r " " frm String[] args args public class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
Formatter frm=new Formatter();
int a=scan.nextInt();
int b=scan.nextInt();
int d=a/b;
int r=a%b;
frm.format("%.5f",(double)a/b);
System.out.println(d+" "+r+" "+frm);
}} public class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
Formatter frm=new Formatter();
int a=scan.nextInt();
int b=scan.nextInt();
int d=a/b;
int r=a%b;
frm.format("%.5f",(double)a/b);
System.out.println(d+" "+r+" "+frm);
}} Main
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
Formatter frm=new Formatter();
int a=scan.nextInt();
int b=scan.nextInt();
int d=a/b;
int r=a%b;
frm.format("%.5f",(double)a/b);
System.out.println(d+" "+r+" "+frm);
}}