import java.math.BigDecimal;
import java.util.Scanner;

public class Main {

	public static void main(String[] arges) {

		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int v = Integer.parseInt(k[0]);
		int v2 = Integer.parseInt(k[1]);
		int p = v / v2;
		int r = v % v2;

		double f = Integer.parseInt(k[0]);
		double f2 = Integer.parseInt(k[1]);
		double ff = f / f2;
		BigDecimal bigDecimal = new BigDecimal(ff);
		bigDecimal.setScale(5, BigDecimal.ROUND_DOWN);

		System.out.print(p);
		System.out.print(" " + r);
		System.out.println(" " + bigDecimal.toPlainString());

	}
} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] arges) {

		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int v = Integer.parseInt(k[0]);
		int v2 = Integer.parseInt(k[1]);
		int p = v / v2;
		int r = v % v2;

		double f = Integer.parseInt(k[0]);
		double f2 = Integer.parseInt(k[1]);
		double ff = f / f2;
		BigDecimal bigDecimal = new BigDecimal(ff);
		bigDecimal.setScale(5, BigDecimal.ROUND_DOWN);

		System.out.print(p);
		System.out.print(" " + r);
		System.out.println(" " + bigDecimal.toPlainString());

	}
} Main public static void main(String[] arges) {

		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int v = Integer.parseInt(k[0]);
		int v2 = Integer.parseInt(k[1]);
		int p = v / v2;
		int r = v % v2;

		double f = Integer.parseInt(k[0]);
		double f2 = Integer.parseInt(k[1]);
		double ff = f / f2;
		BigDecimal bigDecimal = new BigDecimal(ff);
		bigDecimal.setScale(5, BigDecimal.ROUND_DOWN);

		System.out.print(p);
		System.out.print(" " + r);
		System.out.println(" " + bigDecimal.toPlainString());

	} main {

		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int v = Integer.parseInt(k[0]);
		int v2 = Integer.parseInt(k[1]);
		int p = v / v2;
		int r = v % v2;

		double f = Integer.parseInt(k[0]);
		double f2 = Integer.parseInt(k[1]);
		double ff = f / f2;
		BigDecimal bigDecimal = new BigDecimal(ff);
		bigDecimal.setScale(5, BigDecimal.ROUND_DOWN);

		System.out.print(p);
		System.out.print(" " + r);
		System.out.println(" " + bigDecimal.toPlainString());

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String line = sc.nextLine(); line sc.nextLine() sc.nextLine sc String[] k = line.split(" "); k line.split(" ") line.split line " " int v = Integer.parseInt(k[0]); v Integer.parseInt(k[0]) Integer.parseInt Integer k[0] k 0 int v2 = Integer.parseInt(k[1]); v2 Integer.parseInt(k[1]) Integer.parseInt Integer k[1] k 1 int p = v / v2; p v / v2 v v2 int r = v % v2; r v % v2 v v2 double f = Integer.parseInt(k[0]); f Integer.parseInt(k[0]) Integer.parseInt Integer k[0] k 0 double f2 = Integer.parseInt(k[1]); f2 Integer.parseInt(k[1]) Integer.parseInt Integer k[1] k 1 double ff = f / f2; ff f / f2 f f2 BigDecimal bigDecimal = new BigDecimal(ff); bigDecimal new BigDecimal(ff) bigDecimal.setScale(5, BigDecimal.ROUND_DOWN) bigDecimal.setScale bigDecimal 5 BigDecimal.ROUND_DOWN BigDecimal BigDecimal.ROUND_DOWN System.out.print(p) System.out.print System.out System System.out p System.out.print(" " + r) System.out.print System.out System System.out " " + r " " r System.out.println(" " + bigDecimal.toPlainString()) System.out.println System.out System System.out " " + bigDecimal.toPlainString() " " bigDecimal.toPlainString() bigDecimal.toPlainString bigDecimal String[] arges arges public class Main {

	public static void main(String[] arges) {

		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int v = Integer.parseInt(k[0]);
		int v2 = Integer.parseInt(k[1]);
		int p = v / v2;
		int r = v % v2;

		double f = Integer.parseInt(k[0]);
		double f2 = Integer.parseInt(k[1]);
		double ff = f / f2;
		BigDecimal bigDecimal = new BigDecimal(ff);
		bigDecimal.setScale(5, BigDecimal.ROUND_DOWN);

		System.out.print(p);
		System.out.print(" " + r);
		System.out.println(" " + bigDecimal.toPlainString());

	}
} public class Main {

	public static void main(String[] arges) {

		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int v = Integer.parseInt(k[0]);
		int v2 = Integer.parseInt(k[1]);
		int p = v / v2;
		int r = v % v2;

		double f = Integer.parseInt(k[0]);
		double f2 = Integer.parseInt(k[1]);
		double ff = f / f2;
		BigDecimal bigDecimal = new BigDecimal(ff);
		bigDecimal.setScale(5, BigDecimal.ROUND_DOWN);

		System.out.print(p);
		System.out.print(" " + r);
		System.out.println(" " + bigDecimal.toPlainString());

	}
} Main
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {

	public static void main(String[] arges) {

		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int v = Integer.parseInt(k[0]);
		int v2 = Integer.parseInt(k[1]);
		int p = v / v2;
		int r = v % v2;

		double f = Integer.parseInt(k[0]);
		double f2 = Integer.parseInt(k[1]);
		double ff = f / f2;
		BigDecimal bigDecimal = new BigDecimal(ff);
		bigDecimal.setScale(5, BigDecimal.ROUND_DOWN);

		System.out.print(p);
		System.out.print(" " + r);
		System.out.println(" " + bigDecimal.toPlainString());

	}
}