import java.io.*;
import java.util.Scanner;
import java.util.Arrays;

class Main {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws IOException {
        int a = ReadInt();
        int b = ReadInt();
        String str = String.format("%.6f", (double)a / b);
        System.out.println(a / b + " " + a % b + " " + str);
    }
    static int ReadInt() throws IOException {
        return Integer.parseInt(sc.next());
    }
} import java.io.*; io.* java import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util class Main {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws IOException {
        int a = ReadInt();
        int b = ReadInt();
        String str = String.format("%.6f", (double)a / b);
        System.out.println(a / b + " " + a % b + " " + str);
    }
    static int ReadInt() throws IOException {
        return Integer.parseInt(sc.next());
    }
} Main static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) throws IOException {
        int a = ReadInt();
        int b = ReadInt();
        String str = String.format("%.6f", (double)a / b);
        System.out.println(a / b + " " + a % b + " " + str);
    } main {
        int a = ReadInt();
        int b = ReadInt();
        String str = String.format("%.6f", (double)a / b);
        System.out.println(a / b + " " + a % b + " " + str);
    } int a = ReadInt(); a ReadInt() ReadInt int b = ReadInt(); b ReadInt() ReadInt String str = String.format("%.6f", (double)a / b); str String.format("%.6f", (double)a / b) String.format String "%.6f" (double)a / b (double)a b System.out.println(a / b + " " + a % b + " " + str) System.out.println System.out System System.out a / b + " " + a % b + " " + str " " a % b a / b + " " + a % b + " " + str a / b a b " " a % b a b " " str String[] args args static int ReadInt() throws IOException {
        return Integer.parseInt(sc.next());
    } ReadInt {
        return Integer.parseInt(sc.next());
    } return Integer.parseInt(sc.next()); Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc
import java.io.*;
import java.util.Scanner;
import java.util.Arrays;

class Main {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws IOException {
        int a = ReadInt();
        int b = ReadInt();
        String str = String.format("%.6f", (double)a / b);
        System.out.println(a / b + " " + a % b + " " + str);
    }
    static int ReadInt() throws IOException {
        return Integer.parseInt(sc.next());
    }
}