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

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line[] = br.readLine().split(" ");
        int a = Integer.parseInt(line[0]);
        int b = Integer.parseInt(line[1]);
        System.out.println(a/b);
        System.out.println(a%b);
        Double da = (double) a;
        //Double db = (double) b;
        System.out.println(String.format("%.8f",da/b));
    }
} import java.io.IOException; IOException java.io import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line[] = br.readLine().split(" ");
        int a = Integer.parseInt(line[0]);
        int b = Integer.parseInt(line[1]);
        System.out.println(a/b);
        System.out.println(a%b);
        Double da = (double) a;
        //Double db = (double) b;
        System.out.println(String.format("%.8f",da/b));
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line[] = br.readLine().split(" ");
        int a = Integer.parseInt(line[0]);
        int b = Integer.parseInt(line[1]);
        System.out.println(a/b);
        System.out.println(a%b);
        Double da = (double) a;
        //Double db = (double) b;
        System.out.println(String.format("%.8f",da/b));
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line[] = br.readLine().split(" ");
        int a = Integer.parseInt(line[0]);
        int b = Integer.parseInt(line[1]);
        System.out.println(a/b);
        System.out.println(a%b);
        Double da = (double) a;
        //Double db = (double) b;
        System.out.println(String.format("%.8f",da/b));
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line[] = br.readLine().split(" "); line br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a = Integer.parseInt(line[0]); a Integer.parseInt(line[0]) Integer.parseInt Integer line[0] line 0 int b = Integer.parseInt(line[1]); b Integer.parseInt(line[1]) Integer.parseInt Integer line[1] line 1 System.out.println(a/b) System.out.println System.out System System.out a/b a b System.out.println(a%b) System.out.println System.out System System.out a%b a b Double da = (double) a; da (double) a System.out.println(String.format("%.8f",da/b)) System.out.println System.out System System.out String.format("%.8f",da/b) String.format String "%.8f" da/b da b String[] args args public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line[] = br.readLine().split(" ");
        int a = Integer.parseInt(line[0]);
        int b = Integer.parseInt(line[1]);
        System.out.println(a/b);
        System.out.println(a%b);
        Double da = (double) a;
        //Double db = (double) b;
        System.out.println(String.format("%.8f",da/b));
    }
} public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line[] = br.readLine().split(" ");
        int a = Integer.parseInt(line[0]);
        int b = Integer.parseInt(line[1]);
        System.out.println(a/b);
        System.out.println(a%b);
        Double da = (double) a;
        //Double db = (double) b;
        System.out.println(String.format("%.8f",da/b));
    }
} Main
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line[] = br.readLine().split(" ");
        int a = Integer.parseInt(line[0]);
        int b = Integer.parseInt(line[1]);
        System.out.println(a/b);
        System.out.println(a%b);
        Double da = (double) a;
        //Double db = (double) b;
        System.out.println(String.format("%.8f",da/b));
    }
}