import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
	try (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) a / b);
	} catch (Exception e) {
	    System.out.println(e.getMessage());
	}
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
	try (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) a / b);
	} catch (Exception e) {
	    System.out.println(e.getMessage());
	}
    }
} Main public static void main(String[] args) {
	try (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) a / b);
	} catch (Exception e) {
	    System.out.println(e.getMessage());
	}
    } main {
	try (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) a / b);
	} catch (Exception e) {
	    System.out.println(e.getMessage());
	}
    } try (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) a / b);
	} catch (Exception e) {
	    System.out.println(e.getMessage());
	} catch (Exception e) {
	    System.out.println(e.getMessage());
	} Exception e {
	    System.out.println(e.getMessage());
	} System.out.println(e.getMessage()) System.out.println System.out System System.out e.getMessage() e.getMessage e {
	    int a = sc.nextInt();
	    int b = sc.nextInt();
	    System.out.printf("%d %d %f\n", a / b, a % b, (double) a / 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 int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc System.out.printf("%d %d %f\n", a / b, a % b, (double) a / b) System.out.printf System.out System System.out "%d %d %f\n" a / b a b a % b a b (double) a / b (double) a b String[] args args public class Main {
    public static void main(String[] args) {
	try (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) a / b);
	} catch (Exception e) {
	    System.out.println(e.getMessage());
	}
    }
} public class Main {
    public static void main(String[] args) {
	try (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) a / b);
	} catch (Exception e) {
	    System.out.println(e.getMessage());
	}
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
	try (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) a / b);
	} catch (Exception e) {
	    System.out.println(e.getMessage());
	}
    }
}