import java.util.Scanner;

public class Main {

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

        System.out.printf("%d %d %.5f%n",a / b, a % b, (double)a / (double)b);
    }

} import java.util.Scanner; Scanner java.util public class Main {

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

        System.out.printf("%d %d %.5f%n",a / b, a % b, (double)a / (double)b);
    }

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

        System.out.printf("%d %d %.5f%n",a / b, a % b, (double)a / (double)b);
    } main {
        Scanner s = new Scanner(System.in);
        int a = s.nextInt();
        int b = s.nextInt();

        System.out.printf("%d %d %.5f%n",a / b, a % b, (double)a / (double)b);
    } Scanner s = new Scanner(System.in); s new Scanner(System.in) int a = s.nextInt(); a s.nextInt() s.nextInt s int b = s.nextInt(); b s.nextInt() s.nextInt s System.out.printf("%d %d %.5f%n",a / b, a % b, (double)a / (double)b) System.out.printf System.out System System.out "%d %d %.5f%n" a / b a b a % b a b (double)a / (double)b (double)a (double)b String[] args args public class Main {

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

        System.out.printf("%d %d %.5f%n",a / b, a % b, (double)a / (double)b);
    }

} public class Main {

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

        System.out.printf("%d %d %.5f%n",a / b, a % b, (double)a / (double)b);
    }

} Main
import java.util.Scanner;

public class Main {

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

        System.out.printf("%d %d %.5f%n",a / b, a % b, (double)a / (double)b);
    }

}