
import java.util.Scanner;

public class Main {
    private static Scanner scan;

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

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

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

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

import java.util.Scanner;

public class Main {
    private static Scanner scan;

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