import static java.lang.System.out;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();

        int divideAns = a / b;
        int modAns = a % b;
        double fewAns = (double) a / b;

        out.printf("%d %d %f%n", divideAns, modAns, fewAns);
    }   
}  import static java.lang.System.out; import static java.lang.System.out; import static java.lang.System.out; import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();

        int divideAns = a / b;
        int modAns = a % b;
        double fewAns = (double) a / b;

        out.printf("%d %d %f%n", divideAns, modAns, fewAns);
    }   
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();

        int divideAns = a / b;
        int modAns = a % b;
        double fewAns = (double) a / b;

        out.printf("%d %d %f%n", divideAns, modAns, fewAns);
    } main {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();

        int divideAns = a / b;
        int modAns = a % b;
        double fewAns = (double) a / b;

        out.printf("%d %d %f%n", divideAns, modAns, fewAns);
    } Scanner 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 int divideAns = a / b; divideAns a / b a b int modAns = a % b; modAns a % b a b double fewAns = (double) a / b; fewAns (double) a / b (double) a b out.printf("%d %d %f%n", divideAns, modAns, fewAns) out.printf out "%d %d %f%n" divideAns modAns fewAns String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();

        int divideAns = a / b;
        int modAns = a % b;
        double fewAns = (double) a / b;

        out.printf("%d %d %f%n", divideAns, modAns, fewAns);
    }   
} public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();

        int divideAns = a / b;
        int modAns = a % b;
        double fewAns = (double) a / b;

        out.printf("%d %d %f%n", divideAns, modAns, fewAns);
    }   
} Main
import static java.lang.System.out;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();

        int divideAns = a / b;
        int modAns = a % b;
        double fewAns = (double) a / b;

        out.printf("%d %d %f%n", divideAns, modAns, fewAns);
    }   
} 