import java.util.*;

class Main {
        public static void main(String args[]) {
                try (Scanner sc = new Scanner(System.in)) {
                        int a = sc.nextInt(), b = sc.nextInt();
                        System.out.printf("%d %d %f\n", a / b, a % b, (double)a / (double)b);
                }
        }
} import java.util.*; util.* java class Main {
        public static void main(String args[]) {
                try (Scanner sc = new Scanner(System.in)) {
                        int a = sc.nextInt(), b = sc.nextInt();
                        System.out.printf("%d %d %f\n", a / b, a % b, (double)a / (double)b);
                }
        }
} Main public static void main(String args[]) {
                try (Scanner sc = new Scanner(System.in)) {
                        int a = sc.nextInt(), b = sc.nextInt();
                        System.out.printf("%d %d %f\n", a / b, a % b, (double)a / (double)b);
                }
        } main {
                try (Scanner sc = new Scanner(System.in)) {
                        int a = sc.nextInt(), b = sc.nextInt();
                        System.out.printf("%d %d %f\n", a / b, a % b, (double)a / (double)b);
                }
        } try (Scanner sc = new Scanner(System.in)) {
                        int a = sc.nextInt(), b = sc.nextInt();
                        System.out.printf("%d %d %f\n", a / b, a % b, (double)a / (double)b);
                } {
                        int a = sc.nextInt(), b = sc.nextInt();
                        System.out.printf("%d %d %f\n", a / b, a % b, (double)a / (double)b);
                } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) int a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt(); b sc.nextInt() sc.nextInt sc System.out.printf("%d %d %f\n", a / b, a % b, (double)a / (double)b) System.out.printf System.out System System.out "%d %d %f\n" a / b a b a % b a b (double)a / (double)b (double)a (double)b String args[] args
import java.util.*;

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