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

public class Main {

	public static void main(String[] args) {

		double inta = 0;
		double intb = 0;

		//?§£????????°
		double intd = 0;
		double intr = 0;
		double dbf = 0.0;

		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Double> NumList = new ArrayList<Double>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Double.parseDouble(strNumList[i]));
			}

			inta = NumList.get(0);
			intb = NumList.get(1);

			intd = inta / intb;
			intr = inta % intb;
			dbf = (double)inta / (double)intb;

			System.out.println((int)intd + " " + intr + " " + String.format("%.5f", dbf));
		} catch (IOException e) {
			System.out.println(e);
		}catch (NumberFormatException e) {
			System.out.println(e);
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util public class Main {

	public static void main(String[] args) {

		double inta = 0;
		double intb = 0;

		//?§£????????°
		double intd = 0;
		double intr = 0;
		double dbf = 0.0;

		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Double> NumList = new ArrayList<Double>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Double.parseDouble(strNumList[i]));
			}

			inta = NumList.get(0);
			intb = NumList.get(1);

			intd = inta / intb;
			intr = inta % intb;
			dbf = (double)inta / (double)intb;

			System.out.println((int)intd + " " + intr + " " + String.format("%.5f", dbf));
		} catch (IOException e) {
			System.out.println(e);
		}catch (NumberFormatException e) {
			System.out.println(e);
		}
	}
} Main public static void main(String[] args) {

		double inta = 0;
		double intb = 0;

		//?§£????????°
		double intd = 0;
		double intr = 0;
		double dbf = 0.0;

		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Double> NumList = new ArrayList<Double>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Double.parseDouble(strNumList[i]));
			}

			inta = NumList.get(0);
			intb = NumList.get(1);

			intd = inta / intb;
			intr = inta % intb;
			dbf = (double)inta / (double)intb;

			System.out.println((int)intd + " " + intr + " " + String.format("%.5f", dbf));
		} catch (IOException e) {
			System.out.println(e);
		}catch (NumberFormatException e) {
			System.out.println(e);
		}
	} main {

		double inta = 0;
		double intb = 0;

		//?§£????????°
		double intd = 0;
		double intr = 0;
		double dbf = 0.0;

		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Double> NumList = new ArrayList<Double>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Double.parseDouble(strNumList[i]));
			}

			inta = NumList.get(0);
			intb = NumList.get(1);

			intd = inta / intb;
			intr = inta % intb;
			dbf = (double)inta / (double)intb;

			System.out.println((int)intd + " " + intr + " " + String.format("%.5f", dbf));
		} catch (IOException e) {
			System.out.println(e);
		}catch (NumberFormatException e) {
			System.out.println(e);
		}
	} double inta = 0; inta 0 double intb = 0; intb 0 double intd = 0; intd 0 double intr = 0; intr 0 double dbf = 0.0; dbf 0.0 try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Double> NumList = new ArrayList<Double>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Double.parseDouble(strNumList[i]));
			}

			inta = NumList.get(0);
			intb = NumList.get(1);

			intd = inta / intb;
			intr = inta % intb;
			dbf = (double)inta / (double)intb;

			System.out.println((int)intd + " " + intr + " " + String.format("%.5f", dbf));
		} catch (IOException e) {
			System.out.println(e);
		}catch (NumberFormatException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		} IOException e {
			System.out.println(e);
		} System.out.println(e) System.out.println System.out System System.out e catch (NumberFormatException e) {
			System.out.println(e);
		} NumberFormatException e {
			System.out.println(e);
		} System.out.println(e) System.out.println System.out System System.out e {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Double> NumList = new ArrayList<Double>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Double.parseDouble(strNumList[i]));
			}

			inta = NumList.get(0);
			intb = NumList.get(1);

			intd = inta / intb;
			intr = inta % intb;
			dbf = (double)inta / (double)intb;

			System.out.println((int)intd + " " + intr + " " + String.format("%.5f", dbf));
		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String strInput = br.readLine(); strInput br.readLine() br.readLine br ArrayList<Double> NumList = new ArrayList<Double>(); NumList new ArrayList<Double>() String[] strNumList = strInput.split(" ", 0); strNumList strInput.split(" ", 0) strInput.split strInput " " 0 for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Double.parseDouble(strNumList[i]));
			} int i = 0; int i = 0; i 0 i < strNumList.length i strNumList.length strNumList strNumList.length i++ i++ i {
				NumList.add(Double.parseDouble(strNumList[i]));
			} {
				NumList.add(Double.parseDouble(strNumList[i]));
			} NumList.add(Double.parseDouble(strNumList[i])) NumList.add NumList Double.parseDouble(strNumList[i]) Double.parseDouble Double strNumList[i] strNumList i inta = NumList.get(0) inta NumList.get(0) NumList.get NumList 0 intb = NumList.get(1) intb NumList.get(1) NumList.get NumList 1 intd = inta / intb intd inta / intb inta intb intr = inta % intb intr inta % intb inta intb dbf = (double)inta / (double)intb dbf (double)inta / (double)intb (double)inta (double)intb System.out.println((int)intd + " " + intr + " " + String.format("%.5f", dbf)) System.out.println System.out System System.out (int)intd + " " + intr + " " + String.format("%.5f", dbf) " " intr (int)intd + " " + intr + " " + String.format("%.5f", dbf) (int)intd " " intr " " String.format("%.5f", dbf) String.format String "%.5f" dbf String[] args args public class Main {

	public static void main(String[] args) {

		double inta = 0;
		double intb = 0;

		//?§£????????°
		double intd = 0;
		double intr = 0;
		double dbf = 0.0;

		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Double> NumList = new ArrayList<Double>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Double.parseDouble(strNumList[i]));
			}

			inta = NumList.get(0);
			intb = NumList.get(1);

			intd = inta / intb;
			intr = inta % intb;
			dbf = (double)inta / (double)intb;

			System.out.println((int)intd + " " + intr + " " + String.format("%.5f", dbf));
		} catch (IOException e) {
			System.out.println(e);
		}catch (NumberFormatException e) {
			System.out.println(e);
		}
	}
} public class Main {

	public static void main(String[] args) {

		double inta = 0;
		double intb = 0;

		//?§£????????°
		double intd = 0;
		double intr = 0;
		double dbf = 0.0;

		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Double> NumList = new ArrayList<Double>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Double.parseDouble(strNumList[i]));
			}

			inta = NumList.get(0);
			intb = NumList.get(1);

			intd = inta / intb;
			intr = inta % intb;
			dbf = (double)inta / (double)intb;

			System.out.println((int)intd + " " + intr + " " + String.format("%.5f", dbf));
		} catch (IOException e) {
			System.out.println(e);
		}catch (NumberFormatException e) {
			System.out.println(e);
		}
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;

public class Main {

	public static void main(String[] args) {

		double inta = 0;
		double intb = 0;

		//?§£????????°
		double intd = 0;
		double intr = 0;
		double dbf = 0.0;

		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Double> NumList = new ArrayList<Double>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Double.parseDouble(strNumList[i]));
			}

			inta = NumList.get(0);
			intb = NumList.get(1);

			intd = inta / intb;
			intr = inta % intb;
			dbf = (double)inta / (double)intb;

			System.out.println((int)intd + " " + intr + " " + String.format("%.5f", dbf));
		} catch (IOException e) {
			System.out.println(e);
		}catch (NumberFormatException e) {
			System.out.println(e);
		}
	}
}