import java.util.*;
import java.text.*;

public class Main {
    private static final Scanner scn = new Scanner(System.in);
    
    public static void main(String[] args) {
        int a = scn.nextInt(), b = scn.nextInt();
        DecimalFormat df = new DecimalFormat("#.#####");
        System.out.println(a / b + " " + a % b + " " + df.format((double)a / b));
    }
} import java.util.*; util.* java import java.text.*; text.* java public class Main {
    private static final Scanner scn = new Scanner(System.in);
    
    public static void main(String[] args) {
        int a = scn.nextInt(), b = scn.nextInt();
        DecimalFormat df = new DecimalFormat("#.#####");
        System.out.println(a / b + " " + a % b + " " + df.format((double)a / b));
    }
} Main private static final Scanner scn = new Scanner(System.in); scn new Scanner(System.in) public static void main(String[] args) {
        int a = scn.nextInt(), b = scn.nextInt();
        DecimalFormat df = new DecimalFormat("#.#####");
        System.out.println(a / b + " " + a % b + " " + df.format((double)a / b));
    } main {
        int a = scn.nextInt(), b = scn.nextInt();
        DecimalFormat df = new DecimalFormat("#.#####");
        System.out.println(a / b + " " + a % b + " " + df.format((double)a / b));
    } int a = scn.nextInt() a scn.nextInt() scn.nextInt scn b = scn.nextInt(); b scn.nextInt() scn.nextInt scn DecimalFormat df = new DecimalFormat("#.#####"); df new DecimalFormat("#.#####") System.out.println(a / b + " " + a % b + " " + df.format((double)a / b)) System.out.println System.out System System.out a / b + " " + a % b + " " + df.format((double)a / b) " " a % b a / b + " " + a % b + " " + df.format((double)a / b) a / b a b " " a % b a b " " df.format((double)a / b) df.format df (double)a / b (double)a b String[] args args public class Main {
    private static final Scanner scn = new Scanner(System.in);
    
    public static void main(String[] args) {
        int a = scn.nextInt(), b = scn.nextInt();
        DecimalFormat df = new DecimalFormat("#.#####");
        System.out.println(a / b + " " + a % b + " " + df.format((double)a / b));
    }
} public class Main {
    private static final Scanner scn = new Scanner(System.in);
    
    public static void main(String[] args) {
        int a = scn.nextInt(), b = scn.nextInt();
        DecimalFormat df = new DecimalFormat("#.#####");
        System.out.println(a / b + " " + a % b + " " + df.format((double)a / b));
    }
} Main
import java.util.*;
import java.text.*;

public class Main {
    private static final Scanner scn = new Scanner(System.in);
    
    public static void main(String[] args) {
        int a = scn.nextInt(), b = scn.nextInt();
        DecimalFormat df = new DecimalFormat("#.#####");
        System.out.println(a / b + " " + a % b + " " + df.format((double)a / b));
    }
}