import java.io.*;
import java.text.DecimalFormat;
 

class Main {
 
    public static void main(String[] args) {

        int intNum1 = 0;
        int intNum2 = 0;
        int intAnswer = 0;
        int intDivision = 0;
        int intSurplus = 0;
        double dbDivision = 0.0;
 
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

            String strLine = br.readLine();
            String[] strLineAry = strLine.split(" ");

            intNum1 = Integer.parseInt(strLineAry[0]);

            intNum2 = Integer.parseInt(strLineAry[1]);

            intDivision = intNum1 / intNum2;

            intSurplus = intNum1 % intNum2;

            dbDivision = (double)intNum1 / (double)intNum2;

            DecimalFormat insdf = new DecimalFormat("0.00000");

            System.out.println(intDivision + " " + intSurplus +  " " + insdf.format(dbDivision));

            }
        catch(IOException e) {

            System.out.println(e);
 
        }
        catch(NumberFormatException e) {

            System.out.println("??°?????§??\??????????????????");

        }
    }
} import java.io.*; io.* java import java.text.DecimalFormat; DecimalFormat java.text class Main {
 
    public static void main(String[] args) {

        int intNum1 = 0;
        int intNum2 = 0;
        int intAnswer = 0;
        int intDivision = 0;
        int intSurplus = 0;
        double dbDivision = 0.0;
 
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

            String strLine = br.readLine();
            String[] strLineAry = strLine.split(" ");

            intNum1 = Integer.parseInt(strLineAry[0]);

            intNum2 = Integer.parseInt(strLineAry[1]);

            intDivision = intNum1 / intNum2;

            intSurplus = intNum1 % intNum2;

            dbDivision = (double)intNum1 / (double)intNum2;

            DecimalFormat insdf = new DecimalFormat("0.00000");

            System.out.println(intDivision + " " + intSurplus +  " " + insdf.format(dbDivision));

            }
        catch(IOException e) {

            System.out.println(e);
 
        }
        catch(NumberFormatException e) {

            System.out.println("??°?????§??\??????????????????");

        }
    }
} Main public static void main(String[] args) {

        int intNum1 = 0;
        int intNum2 = 0;
        int intAnswer = 0;
        int intDivision = 0;
        int intSurplus = 0;
        double dbDivision = 0.0;
 
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

            String strLine = br.readLine();
            String[] strLineAry = strLine.split(" ");

            intNum1 = Integer.parseInt(strLineAry[0]);

            intNum2 = Integer.parseInt(strLineAry[1]);

            intDivision = intNum1 / intNum2;

            intSurplus = intNum1 % intNum2;

            dbDivision = (double)intNum1 / (double)intNum2;

            DecimalFormat insdf = new DecimalFormat("0.00000");

            System.out.println(intDivision + " " + intSurplus +  " " + insdf.format(dbDivision));

            }
        catch(IOException e) {

            System.out.println(e);
 
        }
        catch(NumberFormatException e) {

            System.out.println("??°?????§??\??????????????????");

        }
    } main {

        int intNum1 = 0;
        int intNum2 = 0;
        int intAnswer = 0;
        int intDivision = 0;
        int intSurplus = 0;
        double dbDivision = 0.0;
 
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

            String strLine = br.readLine();
            String[] strLineAry = strLine.split(" ");

            intNum1 = Integer.parseInt(strLineAry[0]);

            intNum2 = Integer.parseInt(strLineAry[1]);

            intDivision = intNum1 / intNum2;

            intSurplus = intNum1 % intNum2;

            dbDivision = (double)intNum1 / (double)intNum2;

            DecimalFormat insdf = new DecimalFormat("0.00000");

            System.out.println(intDivision + " " + intSurplus +  " " + insdf.format(dbDivision));

            }
        catch(IOException e) {

            System.out.println(e);
 
        }
        catch(NumberFormatException e) {

            System.out.println("??°?????§??\??????????????????");

        }
    } int intNum1 = 0; intNum1 0 int intNum2 = 0; intNum2 0 int intAnswer = 0; intAnswer 0 int intDivision = 0; intDivision 0 int intSurplus = 0; intSurplus 0 double dbDivision = 0.0; dbDivision 0.0 try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

            String strLine = br.readLine();
            String[] strLineAry = strLine.split(" ");

            intNum1 = Integer.parseInt(strLineAry[0]);

            intNum2 = Integer.parseInt(strLineAry[1]);

            intDivision = intNum1 / intNum2;

            intSurplus = intNum1 % intNum2;

            dbDivision = (double)intNum1 / (double)intNum2;

            DecimalFormat insdf = new DecimalFormat("0.00000");

            System.out.println(intDivision + " " + intSurplus +  " " + insdf.format(dbDivision));

            }
        catch(IOException e) {

            System.out.println(e);
 
        }
        catch(NumberFormatException e) {

            System.out.println("??°?????§??\??????????????????");

        } catch(IOException e) {

            System.out.println(e);
 
        } IOException e {

            System.out.println(e);
 
        } System.out.println(e) System.out.println System.out System System.out e catch(NumberFormatException e) {

            System.out.println("??°?????§??\??????????????????");

        } NumberFormatException e {

            System.out.println("??°?????§??\??????????????????");

        } System.out.println("??°?????§??\??????????????????") System.out.println System.out System System.out "??°?????§??\??????????????????" {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

            String strLine = br.readLine();
            String[] strLineAry = strLine.split(" ");

            intNum1 = Integer.parseInt(strLineAry[0]);

            intNum2 = Integer.parseInt(strLineAry[1]);

            intDivision = intNum1 / intNum2;

            intSurplus = intNum1 % intNum2;

            dbDivision = (double)intNum1 / (double)intNum2;

            DecimalFormat insdf = new DecimalFormat("0.00000");

            System.out.println(intDivision + " " + intSurplus +  " " + insdf.format(dbDivision));

            } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String strLine = br.readLine(); strLine br.readLine() br.readLine br String[] strLineAry = strLine.split(" "); strLineAry strLine.split(" ") strLine.split strLine " " intNum1 = Integer.parseInt(strLineAry[0]) intNum1 Integer.parseInt(strLineAry[0]) Integer.parseInt Integer strLineAry[0] strLineAry 0 intNum2 = Integer.parseInt(strLineAry[1]) intNum2 Integer.parseInt(strLineAry[1]) Integer.parseInt Integer strLineAry[1] strLineAry 1 intDivision = intNum1 / intNum2 intDivision intNum1 / intNum2 intNum1 intNum2 intSurplus = intNum1 % intNum2 intSurplus intNum1 % intNum2 intNum1 intNum2 dbDivision = (double)intNum1 / (double)intNum2 dbDivision (double)intNum1 / (double)intNum2 (double)intNum1 (double)intNum2 DecimalFormat insdf = new DecimalFormat("0.00000"); insdf new DecimalFormat("0.00000") System.out.println(intDivision + " " + intSurplus +  " " + insdf.format(dbDivision)) System.out.println System.out System System.out intDivision + " " + intSurplus +  " " + insdf.format(dbDivision) " " intSurplus intDivision + " " + intSurplus +  " " + insdf.format(dbDivision) intDivision " " intSurplus " " insdf.format(dbDivision) insdf.format insdf dbDivision String[] args args
import java.io.*;
import java.text.DecimalFormat;
 

class Main {
 
    public static void main(String[] args) {

        int intNum1 = 0;
        int intNum2 = 0;
        int intAnswer = 0;
        int intDivision = 0;
        int intSurplus = 0;
        double dbDivision = 0.0;
 
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

            String strLine = br.readLine();
            String[] strLineAry = strLine.split(" ");

            intNum1 = Integer.parseInt(strLineAry[0]);

            intNum2 = Integer.parseInt(strLineAry[1]);

            intDivision = intNum1 / intNum2;

            intSurplus = intNum1 % intNum2;

            dbDivision = (double)intNum1 / (double)intNum2;

            DecimalFormat insdf = new DecimalFormat("0.00000");

            System.out.println(intDivision + " " + intSurplus +  " " + insdf.format(dbDivision));

            }
        catch(IOException e) {

            System.out.println(e);
 
        }
        catch(NumberFormatException e) {

            System.out.println("??°?????§??\??????????????????");

        }
    }
}