import java.util.Scanner;
public class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        double c = (double)a/b;
        String d = String.format("%.5f", c);
        System.out.println(a/b+" "+a%b+" "+d);
    }
}
 import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        double c = (double)a/b;
        String d = String.format("%.5f", c);
        System.out.println(a/b+" "+a%b+" "+d);
    }
} Main public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        double c = (double)a/b;
        String d = String.format("%.5f", c);
        System.out.println(a/b+" "+a%b+" "+d);
    } main {
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        double c = (double)a/b;
        String d = String.format("%.5f", c);
        System.out.println(a/b+" "+a%b+" "+d);
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) int a = in.nextInt(); a in.nextInt() in.nextInt in int b = in.nextInt(); b in.nextInt() in.nextInt in double c = (double)a/b; c (double)a/b (double)a b String d = String.format("%.5f", c); d String.format("%.5f", c) String.format String "%.5f" c System.out.println(a/b+" "+a%b+" "+d) System.out.println System.out System System.out a/b+" "+a%b+" "+d " " a%b a/b+" "+a%b+" "+d a/b a b " " a%b a b " " d String[] args args public class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        double c = (double)a/b;
        String d = String.format("%.5f", c);
        System.out.println(a/b+" "+a%b+" "+d);
    }
} public class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        double c = (double)a/b;
        String d = String.format("%.5f", c);
        System.out.println(a/b+" "+a%b+" "+d);
    }
} Main
import java.util.Scanner;
public class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        double c = (double)a/b;
        String d = String.format("%.5f", c);
        System.out.println(a/b+" "+a%b+" "+d);
    }
}

