import java.util.Scanner;
public class Main {
    public static void main (String args[]){
    	Scanner str =new Scanner(System.in);
    	StringBuffer buf =new StringBuffer();
    	    int a = str.nextInt();
    	    int b = str.nextInt();
    	    int d = a/b;
    	    int r = a%b;
    	    double f =(double) a/b;
    	    buf.append(d).append(" ").append(r).append(" ").append(String.format("%6.5f",f));
    	    //String s=String.format("%.2f",r);
    	System.out.println(buf);
    	    //System.out.printf("%6.5f",f);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main (String args[]){
    	Scanner str =new Scanner(System.in);
    	StringBuffer buf =new StringBuffer();
    	    int a = str.nextInt();
    	    int b = str.nextInt();
    	    int d = a/b;
    	    int r = a%b;
    	    double f =(double) a/b;
    	    buf.append(d).append(" ").append(r).append(" ").append(String.format("%6.5f",f));
    	    //String s=String.format("%.2f",r);
    	System.out.println(buf);
    	    //System.out.printf("%6.5f",f);
    }
} Main public static void main (String args[]){
    	Scanner str =new Scanner(System.in);
    	StringBuffer buf =new StringBuffer();
    	    int a = str.nextInt();
    	    int b = str.nextInt();
    	    int d = a/b;
    	    int r = a%b;
    	    double f =(double) a/b;
    	    buf.append(d).append(" ").append(r).append(" ").append(String.format("%6.5f",f));
    	    //String s=String.format("%.2f",r);
    	System.out.println(buf);
    	    //System.out.printf("%6.5f",f);
    } main {
    	Scanner str =new Scanner(System.in);
    	StringBuffer buf =new StringBuffer();
    	    int a = str.nextInt();
    	    int b = str.nextInt();
    	    int d = a/b;
    	    int r = a%b;
    	    double f =(double) a/b;
    	    buf.append(d).append(" ").append(r).append(" ").append(String.format("%6.5f",f));
    	    //String s=String.format("%.2f",r);
    	System.out.println(buf);
    	    //System.out.printf("%6.5f",f);
    } Scanner str =new Scanner(System.in); str new Scanner(System.in) StringBuffer buf =new StringBuffer(); buf new StringBuffer() int a = str.nextInt(); a str.nextInt() str.nextInt str int b = str.nextInt(); b str.nextInt() str.nextInt str int d = a/b; d a/b a b int r = a%b; r a%b a b double f =(double) a/b; f (double) a/b (double) a b buf.append(d).append(" ").append(r).append(" ").append(String.format("%6.5f",f)) buf.append(d).append(" ").append(r).append(" ").append buf.append(d).append(" ").append(r).append(" ") buf.append(d).append(" ").append(r).append buf.append(d).append(" ").append(r) buf.append(d).append(" ").append buf.append(d).append(" ") buf.append(d).append buf.append(d) buf.append buf d " " r " " String.format("%6.5f",f) String.format String "%6.5f" f System.out.println(buf) System.out.println System.out System System.out buf String args[] args public class Main {
    public static void main (String args[]){
    	Scanner str =new Scanner(System.in);
    	StringBuffer buf =new StringBuffer();
    	    int a = str.nextInt();
    	    int b = str.nextInt();
    	    int d = a/b;
    	    int r = a%b;
    	    double f =(double) a/b;
    	    buf.append(d).append(" ").append(r).append(" ").append(String.format("%6.5f",f));
    	    //String s=String.format("%.2f",r);
    	System.out.println(buf);
    	    //System.out.printf("%6.5f",f);
    }
} public class Main {
    public static void main (String args[]){
    	Scanner str =new Scanner(System.in);
    	StringBuffer buf =new StringBuffer();
    	    int a = str.nextInt();
    	    int b = str.nextInt();
    	    int d = a/b;
    	    int r = a%b;
    	    double f =(double) a/b;
    	    buf.append(d).append(" ").append(r).append(" ").append(String.format("%6.5f",f));
    	    //String s=String.format("%.2f",r);
    	System.out.println(buf);
    	    //System.out.printf("%6.5f",f);
    }
} Main
import java.util.Scanner;
public class Main {
    public static void main (String args[]){
    	Scanner str =new Scanner(System.in);
    	StringBuffer buf =new StringBuffer();
    	    int a = str.nextInt();
    	    int b = str.nextInt();
    	    int d = a/b;
    	    int r = a%b;
    	    double f =(double) a/b;
    	    buf.append(d).append(" ").append(r).append(" ").append(String.format("%6.5f",f));
    	    //String s=String.format("%.2f",r);
    	System.out.println(buf);
    	    //System.out.printf("%6.5f",f);
    }
}