
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long a = scanner.nextLong();
        long b = scanner.nextLong();

        System.out.printf("%d %d %f\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 scanner = new Scanner(System.in);

        long a = scanner.nextLong();
        long b = scanner.nextLong();

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

        long a = scanner.nextLong();
        long b = scanner.nextLong();

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

        long a = scanner.nextLong();
        long b = scanner.nextLong();

        System.out.printf("%d %d %f\n", (a / b), (a % b), ((double) a / (double) b));
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) long a = scanner.nextLong(); a scanner.nextLong() scanner.nextLong scanner long b = scanner.nextLong(); b scanner.nextLong() scanner.nextLong scanner 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 public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long a = scanner.nextLong();
        long b = scanner.nextLong();

        System.out.printf("%d %d %f\n", (a / b), (a % b), ((double) a / (double) b));
    }
} public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long a = scanner.nextLong();
        long b = scanner.nextLong();

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

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long a = scanner.nextLong();
        long b = scanner.nextLong();

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

