import java.util.Scanner;

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

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

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

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

} Main
import java.util.Scanner;

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

}

