
import java.util.Scanner;

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

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int num1 = scanner.nextInt();
		int num2 = scanner.nextInt();
		System.out.println(String.format("%s %s %.5f", num1 / num2,
				num1 % num2, (double) num1 / num2));
	}
}