import java.text.DecimalFormat;
import java.util.Scanner;

class Main {
    private static final Scanner sc = new Scanner(System.in);
    private static final DecimalFormat df = new DecimalFormat("0.########");
    public static void main(String[] Args) {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        System.out.println(a/b+" "+a%b+" "+df.format((double) a/b));
    }
} import java.text.DecimalFormat; DecimalFormat java.text import java.util.Scanner; Scanner java.util class Main {
    private static final Scanner sc = new Scanner(System.in);
    private static final DecimalFormat df = new DecimalFormat("0.########");
    public static void main(String[] Args) {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        System.out.println(a/b+" "+a%b+" "+df.format((double) a/b));
    }
} Main private static final Scanner sc = new Scanner(System.in); sc new Scanner(System.in) private static final DecimalFormat df = new DecimalFormat("0.########"); df new DecimalFormat("0.########") public static void main(String[] Args) {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        System.out.println(a/b+" "+a%b+" "+df.format((double) a/b));
    } main {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        System.out.println(a/b+" "+a%b+" "+df.format((double) a/b));
    } int a = Integer.parseInt(sc.next()); a Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int b = Integer.parseInt(sc.next()); b Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc System.out.println(a/b+" "+a%b+" "+df.format((double) a/b)) System.out.println System.out System System.out a/b+" "+a%b+" "+df.format((double) a/b) " " a%b a/b+" "+a%b+" "+df.format((double) a/b) a/b a b " " a%b a b " " df.format((double) a/b) df.format df (double) a/b (double) a b String[] Args Args
import java.text.DecimalFormat;
import java.util.Scanner;

class Main {
    private static final Scanner sc = new Scanner(System.in);
    private static final DecimalFormat df = new DecimalFormat("0.########");
    public static void main(String[] Args) {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        System.out.println(a/b+" "+a%b+" "+df.format((double) a/b));
    }
}