import java.util.Scanner;

public class Main {

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

    private static void solve(Scanner in) {
        int a = in.nextInt(), b = in.nextInt();
        System.out.printf("%d %d %.5f\n", a / b, a % b, ((double) a / b));
    }
} import java.util.Scanner; Scanner java.util public class Main {

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

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

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

    private static void solve(Scanner in) {
        int a = in.nextInt(), b = in.nextInt();
        System.out.printf("%d %d %.5f\n", a / b, a % b, ((double) a / b));
    }
} public class Main {

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

    private static void solve(Scanner in) {
        int a = in.nextInt(), b = in.nextInt();
        System.out.printf("%d %d %.5f\n", a / b, a % b, ((double) a / b));
    }
} Main
import java.util.Scanner;

public class Main {

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

    private static void solve(Scanner in) {
        int a = in.nextInt(), b = in.nextInt();
        System.out.printf("%d %d %.5f\n", a / b, a % b, ((double) a / b));
    }
}