import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedReader;

public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String[] input = br.readLine().split(" " , 2);
        int a = Integer.parseInt(input[0]);
        int b = Integer.parseInt(input[1]);

        double ad = (double)a;
        double bd = (double)b;

        System.out.print(a/b + " " + a%b + " ");
        System.out.printf("%.5f\n" , ad/bd);
    }
} import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.BufferedReader; BufferedReader java.io public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String[] input = br.readLine().split(" " , 2);
        int a = Integer.parseInt(input[0]);
        int b = Integer.parseInt(input[1]);

        double ad = (double)a;
        double bd = (double)b;

        System.out.print(a/b + " " + a%b + " ");
        System.out.printf("%.5f\n" , ad/bd);
    }
} Main public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String[] input = br.readLine().split(" " , 2);
        int a = Integer.parseInt(input[0]);
        int b = Integer.parseInt(input[1]);

        double ad = (double)a;
        double bd = (double)b;

        System.out.print(a/b + " " + a%b + " ");
        System.out.printf("%.5f\n" , ad/bd);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String[] input = br.readLine().split(" " , 2);
        int a = Integer.parseInt(input[0]);
        int b = Integer.parseInt(input[1]);

        double ad = (double)a;
        double bd = (double)b;

        System.out.print(a/b + " " + a%b + " ");
        System.out.printf("%.5f\n" , ad/bd);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] input = br.readLine().split(" " , 2); input br.readLine().split(" " , 2) br.readLine().split br.readLine() br.readLine br " " 2 int a = Integer.parseInt(input[0]); a Integer.parseInt(input[0]) Integer.parseInt Integer input[0] input 0 int b = Integer.parseInt(input[1]); b Integer.parseInt(input[1]) Integer.parseInt Integer input[1] input 1 double ad = (double)a; ad (double)a double bd = (double)b; bd (double)b System.out.print(a/b + " " + a%b + " ") System.out.print System.out System System.out a/b + " " + a%b + " " a%b a/b + " " + a%b + " " a/b a b " " a%b a b " " System.out.printf("%.5f\n" , ad/bd) System.out.printf System.out System System.out "%.5f\n" ad/bd ad bd String[] args args public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String[] input = br.readLine().split(" " , 2);
        int a = Integer.parseInt(input[0]);
        int b = Integer.parseInt(input[1]);

        double ad = (double)a;
        double bd = (double)b;

        System.out.print(a/b + " " + a%b + " ");
        System.out.printf("%.5f\n" , ad/bd);
    }
} public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String[] input = br.readLine().split(" " , 2);
        int a = Integer.parseInt(input[0]);
        int b = Integer.parseInt(input[1]);

        double ad = (double)a;
        double bd = (double)b;

        System.out.print(a/b + " " + a%b + " ");
        System.out.printf("%.5f\n" , ad/bd);
    }
} Main
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedReader;

public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String[] input = br.readLine().split(" " , 2);
        int a = Integer.parseInt(input[0]);
        int b = Integer.parseInt(input[1]);

        double ad = (double)a;
        double bd = (double)b;

        System.out.print(a/b + " " + a%b + " ");
        System.out.printf("%.5f\n" , ad/bd);
    }
}