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

public class Main {

    public static void main(String[] args) throws Exception {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();

        String data[] = reader.readLine().split(" ");
        int a = Integer.parseInt(data[0]);
        int b = Integer.parseInt(data[1]);
        int d;
        int r;
        String f;

        d = a / b;
        r = a % b;
        f = (String.format("%.5f", ((double) a / (double) b)));

        sb
                .append(d)
                .append(" ")
                .append(r)
                .append(" ")
                .append(f)
                .append("\n");
        System.out.println(sb);
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.IOException; IOException java.io public class Main {

    public static void main(String[] args) throws Exception {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();

        String data[] = reader.readLine().split(" ");
        int a = Integer.parseInt(data[0]);
        int b = Integer.parseInt(data[1]);
        int d;
        int r;
        String f;

        d = a / b;
        r = a % b;
        f = (String.format("%.5f", ((double) a / (double) b)));

        sb
                .append(d)
                .append(" ")
                .append(r)
                .append(" ")
                .append(f)
                .append("\n");
        System.out.println(sb);
    }
} Main public static void main(String[] args) throws Exception {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();

        String data[] = reader.readLine().split(" ");
        int a = Integer.parseInt(data[0]);
        int b = Integer.parseInt(data[1]);
        int d;
        int r;
        String f;

        d = a / b;
        r = a % b;
        f = (String.format("%.5f", ((double) a / (double) b)));

        sb
                .append(d)
                .append(" ")
                .append(r)
                .append(" ")
                .append(f)
                .append("\n");
        System.out.println(sb);
    } main {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();

        String data[] = reader.readLine().split(" ");
        int a = Integer.parseInt(data[0]);
        int b = Integer.parseInt(data[1]);
        int d;
        int r;
        String f;

        d = a / b;
        r = a % b;
        f = (String.format("%.5f", ((double) a / (double) b)));

        sb
                .append(d)
                .append(" ")
                .append(r)
                .append(" ")
                .append(f)
                .append("\n");
        System.out.println(sb);
    } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) StringBuilder sb = new StringBuilder(); sb new StringBuilder() String data[] = reader.readLine().split(" "); data reader.readLine().split(" ") reader.readLine().split reader.readLine() reader.readLine reader " " int a = Integer.parseInt(data[0]); a Integer.parseInt(data[0]) Integer.parseInt Integer data[0] data 0 int b = Integer.parseInt(data[1]); b Integer.parseInt(data[1]) Integer.parseInt Integer data[1] data 1 int d; d int r; r String f; f d = a / b d a / b a b r = a % b r a % b a b f = (String.format("%.5f", ((double) a / (double) b))) f (String.format("%.5f", ((double) a / (double) b))) String.format String "%.5f" ((double) a / (double) b) (double) a (double) b sb
                .append(d)
                .append(" ")
                .append(r)
                .append(" ")
                .append(f)
                .append("\n") sb
                .append(d)
                .append(" ")
                .append(r)
                .append(" ")
                .append(f)
                .append sb
                .append(d)
                .append(" ")
                .append(r)
                .append(" ")
                .append(f) sb
                .append(d)
                .append(" ")
                .append(r)
                .append(" ")
                .append sb
                .append(d)
                .append(" ")
                .append(r)
                .append(" ") sb
                .append(d)
                .append(" ")
                .append(r)
                .append sb
                .append(d)
                .append(" ")
                .append(r) sb
                .append(d)
                .append(" ")
                .append sb
                .append(d)
                .append(" ") sb
                .append(d)
                .append sb
                .append(d) sb
                .append sb d " " r " " f "\n" System.out.println(sb) System.out.println System.out System System.out sb String[] args args public class Main {

    public static void main(String[] args) throws Exception {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();

        String data[] = reader.readLine().split(" ");
        int a = Integer.parseInt(data[0]);
        int b = Integer.parseInt(data[1]);
        int d;
        int r;
        String f;

        d = a / b;
        r = a % b;
        f = (String.format("%.5f", ((double) a / (double) b)));

        sb
                .append(d)
                .append(" ")
                .append(r)
                .append(" ")
                .append(f)
                .append("\n");
        System.out.println(sb);
    }
} public class Main {

    public static void main(String[] args) throws Exception {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();

        String data[] = reader.readLine().split(" ");
        int a = Integer.parseInt(data[0]);
        int b = Integer.parseInt(data[1]);
        int d;
        int r;
        String f;

        d = a / b;
        r = a % b;
        f = (String.format("%.5f", ((double) a / (double) b)));

        sb
                .append(d)
                .append(" ")
                .append(r)
                .append(" ")
                .append(f)
                .append("\n");
        System.out.println(sb);
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class Main {

    public static void main(String[] args) throws Exception {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();

        String data[] = reader.readLine().split(" ");
        int a = Integer.parseInt(data[0]);
        int b = Integer.parseInt(data[1]);
        int d;
        int r;
        String f;

        d = a / b;
        r = a % b;
        f = (String.format("%.5f", ((double) a / (double) b)));

        sb
                .append(d)
                .append(" ")
                .append(r)
                .append(" ")
                .append(f)
                .append("\n");
        System.out.println(sb);
    }
}