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

class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strNumArrays = br.readLine().split(" ");
		String answer = "";
		Integer a = Integer.parseInt(strNumArrays[0]);
		Integer b = Integer.parseInt(strNumArrays[1]);
		answer += a / b;
		answer += " " + a % b;
		double dA = Double.valueOf(a);
		double dB = Double.valueOf(b);
		answer += " " + String.format("%.5f", dA / dB);
		System.out.println(answer);
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strNumArrays = br.readLine().split(" ");
		String answer = "";
		Integer a = Integer.parseInt(strNumArrays[0]);
		Integer b = Integer.parseInt(strNumArrays[1]);
		answer += a / b;
		answer += " " + a % b;
		double dA = Double.valueOf(a);
		double dB = Double.valueOf(b);
		answer += " " + String.format("%.5f", dA / dB);
		System.out.println(answer);
	}

} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strNumArrays = br.readLine().split(" ");
		String answer = "";
		Integer a = Integer.parseInt(strNumArrays[0]);
		Integer b = Integer.parseInt(strNumArrays[1]);
		answer += a / b;
		answer += " " + a % b;
		double dA = Double.valueOf(a);
		double dB = Double.valueOf(b);
		answer += " " + String.format("%.5f", dA / dB);
		System.out.println(answer);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strNumArrays = br.readLine().split(" ");
		String answer = "";
		Integer a = Integer.parseInt(strNumArrays[0]);
		Integer b = Integer.parseInt(strNumArrays[1]);
		answer += a / b;
		answer += " " + a % b;
		double dA = Double.valueOf(a);
		double dB = Double.valueOf(b);
		answer += " " + String.format("%.5f", dA / dB);
		System.out.println(answer);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] strNumArrays = br.readLine().split(" "); strNumArrays br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " String answer = ""; answer "" Integer a = Integer.parseInt(strNumArrays[0]); a Integer.parseInt(strNumArrays[0]) Integer.parseInt Integer strNumArrays[0] strNumArrays 0 Integer b = Integer.parseInt(strNumArrays[1]); b Integer.parseInt(strNumArrays[1]) Integer.parseInt Integer strNumArrays[1] strNumArrays 1 answer += a / b answer a / b a b answer += " " + a % b answer " " + a % b " " a % b a b double dA = Double.valueOf(a); dA Double.valueOf(a) Double.valueOf Double a double dB = Double.valueOf(b); dB Double.valueOf(b) Double.valueOf Double b answer += " " + String.format("%.5f", dA / dB) answer " " + String.format("%.5f", dA / dB) " " String.format("%.5f", dA / dB) String.format String "%.5f" dA / dB dA dB System.out.println(answer) System.out.println System.out System System.out answer String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strNumArrays = br.readLine().split(" ");
		String answer = "";
		Integer a = Integer.parseInt(strNumArrays[0]);
		Integer b = Integer.parseInt(strNumArrays[1]);
		answer += a / b;
		answer += " " + a % b;
		double dA = Double.valueOf(a);
		double dB = Double.valueOf(b);
		answer += " " + String.format("%.5f", dA / dB);
		System.out.println(answer);
	}

}