import java.util.Scanner;

public class Main {
    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        Integer a = scanner.nextInt();
        Integer b = scanner.nextInt();

        Integer x = a / b;
        Integer y = a % b;
        double z = (double) a / (double) b;
        System.out.println(x + " " + y + " " + String.format("%.5f", z));
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        Integer a = scanner.nextInt();
        Integer b = scanner.nextInt();

        Integer x = a / b;
        Integer y = a % b;
        double z = (double) a / (double) b;
        System.out.println(x + " " + y + " " + String.format("%.5f", z));
    }
} Main public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        Integer a = scanner.nextInt();
        Integer b = scanner.nextInt();

        Integer x = a / b;
        Integer y = a % b;
        double z = (double) a / (double) b;
        System.out.println(x + " " + y + " " + String.format("%.5f", z));
    } main {

        Scanner scanner = new Scanner(System.in);
        Integer a = scanner.nextInt();
        Integer b = scanner.nextInt();

        Integer x = a / b;
        Integer y = a % b;
        double z = (double) a / (double) b;
        System.out.println(x + " " + y + " " + String.format("%.5f", z));
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) Integer a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner Integer b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner Integer x = a / b; x a / b a b Integer y = a % b; y a % b a b double z = (double) a / (double) b; z (double) a / (double) b (double) a (double) b System.out.println(x + " " + y + " " + String.format("%.5f", z)) System.out.println System.out System System.out x + " " + y + " " + String.format("%.5f", z) " " y x + " " + y + " " + String.format("%.5f", z) x " " y " " String.format("%.5f", z) String.format String "%.5f" z String[] args args public class Main {
    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        Integer a = scanner.nextInt();
        Integer b = scanner.nextInt();

        Integer x = a / b;
        Integer y = a % b;
        double z = (double) a / (double) b;
        System.out.println(x + " " + y + " " + String.format("%.5f", z));
    }
} public class Main {
    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        Integer a = scanner.nextInt();
        Integer b = scanner.nextInt();

        Integer x = a / b;
        Integer y = a % b;
        double z = (double) a / (double) b;
        System.out.println(x + " " + y + " " + String.format("%.5f", z));
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        Integer a = scanner.nextInt();
        Integer b = scanner.nextInt();

        Integer x = a / b;
        Integer y = a % b;
        double z = (double) a / (double) b;
        System.out.println(x + " " + y + " " + String.format("%.5f", z));
    }
}
