import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main{
    public static void main(String[] args) throws IOException{
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] strArr = br.readLine().split(" ");

        double a = Integer.parseInt(strArr[0]);
        double b = Integer.parseInt(strArr[1]);

        int div = (int)a / (int)b;
        int rem = (int)a % (int)b;
        double divDbl = a / b;

        System.out.printf("%d %d %.5f", div,rem,divDbl);

    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main{
    public static void main(String[] args) throws IOException{
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] strArr = br.readLine().split(" ");

        double a = Integer.parseInt(strArr[0]);
        double b = Integer.parseInt(strArr[1]);

        int div = (int)a / (int)b;
        int rem = (int)a % (int)b;
        double divDbl = a / b;

        System.out.printf("%d %d %.5f", div,rem,divDbl);

    }
} Main public static void main(String[] args) throws IOException{
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] strArr = br.readLine().split(" ");

        double a = Integer.parseInt(strArr[0]);
        double b = Integer.parseInt(strArr[1]);

        int div = (int)a / (int)b;
        int rem = (int)a % (int)b;
        double divDbl = a / b;

        System.out.printf("%d %d %.5f", div,rem,divDbl);

    } main {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] strArr = br.readLine().split(" ");

        double a = Integer.parseInt(strArr[0]);
        double b = Integer.parseInt(strArr[1]);

        int div = (int)a / (int)b;
        int rem = (int)a % (int)b;
        double divDbl = a / b;

        System.out.printf("%d %d %.5f", div,rem,divDbl);

    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] strArr = br.readLine().split(" "); strArr br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " double a = Integer.parseInt(strArr[0]); a Integer.parseInt(strArr[0]) Integer.parseInt Integer strArr[0] strArr 0 double b = Integer.parseInt(strArr[1]); b Integer.parseInt(strArr[1]) Integer.parseInt Integer strArr[1] strArr 1 int div = (int)a / (int)b; div (int)a / (int)b (int)a (int)b int rem = (int)a % (int)b; rem (int)a % (int)b (int)a (int)b double divDbl = a / b; divDbl a / b a b System.out.printf("%d %d %.5f", div,rem,divDbl) System.out.printf System.out System System.out "%d %d %.5f" div rem divDbl String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main{
    public static void main(String[] args) throws IOException{
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] strArr = br.readLine().split(" ");

        double a = Integer.parseInt(strArr[0]);
        double b = Integer.parseInt(strArr[1]);

        int div = (int)a / (int)b;
        int rem = (int)a % (int)b;
        double divDbl = a / b;

        System.out.printf("%d %d %.5f", div,rem,divDbl);

    }
}