

import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		//????????£????????????????????°?????????????????£?¨?
				Scanner sc = new Scanner(System.in);

				//a??????
				int intA = sc.nextInt();
				//b??????
				int intB = sc.nextInt();

				double dbF; //?????°?????£?¨?
				//f???????????????????????°???????????§???????¨????
				 dbF = (double) intA /  (double) intB;
				 //?¨??????????db????????°??????string???????????????
				 String f2 = String.format("%.5f", dbF);
				//?¨??????????????????????a/b = d
				System.out.println(intA / intB + " " + intA % intB + " " + f2);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		//????????£????????????????????°?????????????????£?¨?
				Scanner sc = new Scanner(System.in);

				//a??????
				int intA = sc.nextInt();
				//b??????
				int intB = sc.nextInt();

				double dbF; //?????°?????£?¨?
				//f???????????????????????°???????????§???????¨????
				 dbF = (double) intA /  (double) intB;
				 //?¨??????????db????????°??????string???????????????
				 String f2 = String.format("%.5f", dbF);
				//?¨??????????????????????a/b = d
				System.out.println(intA / intB + " " + intA % intB + " " + f2);
	}
} Main public static void main(String[] args){
		//????????£????????????????????°?????????????????£?¨?
				Scanner sc = new Scanner(System.in);

				//a??????
				int intA = sc.nextInt();
				//b??????
				int intB = sc.nextInt();

				double dbF; //?????°?????£?¨?
				//f???????????????????????°???????????§???????¨????
				 dbF = (double) intA /  (double) intB;
				 //?¨??????????db????????°??????string???????????????
				 String f2 = String.format("%.5f", dbF);
				//?¨??????????????????????a/b = d
				System.out.println(intA / intB + " " + intA % intB + " " + f2);
	} main {
		//????????£????????????????????°?????????????????£?¨?
				Scanner sc = new Scanner(System.in);

				//a??????
				int intA = sc.nextInt();
				//b??????
				int intB = sc.nextInt();

				double dbF; //?????°?????£?¨?
				//f???????????????????????°???????????§???????¨????
				 dbF = (double) intA /  (double) intB;
				 //?¨??????????db????????°??????string???????????????
				 String f2 = String.format("%.5f", dbF);
				//?¨??????????????????????a/b = d
				System.out.println(intA / intB + " " + intA % intB + " " + f2);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int intA = sc.nextInt(); intA sc.nextInt() sc.nextInt sc int intB = sc.nextInt(); intB sc.nextInt() sc.nextInt sc double dbF; dbF dbF = (double) intA /  (double) intB dbF (double) intA /  (double) intB (double) intA (double) intB String f2 = String.format("%.5f", dbF); f2 String.format("%.5f", dbF) String.format String "%.5f" dbF System.out.println(intA / intB + " " + intA % intB + " " + f2) System.out.println System.out System System.out intA / intB + " " + intA % intB + " " + f2 " " intA % intB intA / intB + " " + intA % intB + " " + f2 intA / intB intA intB " " intA % intB intA intB " " f2 String[] args args public class Main {
	public static void main(String[] args){
		//????????£????????????????????°?????????????????£?¨?
				Scanner sc = new Scanner(System.in);

				//a??????
				int intA = sc.nextInt();
				//b??????
				int intB = sc.nextInt();

				double dbF; //?????°?????£?¨?
				//f???????????????????????°???????????§???????¨????
				 dbF = (double) intA /  (double) intB;
				 //?¨??????????db????????°??????string???????????????
				 String f2 = String.format("%.5f", dbF);
				//?¨??????????????????????a/b = d
				System.out.println(intA / intB + " " + intA % intB + " " + f2);
	}
} public class Main {
	public static void main(String[] args){
		//????????£????????????????????°?????????????????£?¨?
				Scanner sc = new Scanner(System.in);

				//a??????
				int intA = sc.nextInt();
				//b??????
				int intB = sc.nextInt();

				double dbF; //?????°?????£?¨?
				//f???????????????????????°???????????§???????¨????
				 dbF = (double) intA /  (double) intB;
				 //?¨??????????db????????°??????string???????????????
				 String f2 = String.format("%.5f", dbF);
				//?¨??????????????????????a/b = d
				System.out.println(intA / intB + " " + intA % intB + " " + f2);
	}
} Main


import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		//????????£????????????????????°?????????????????£?¨?
				Scanner sc = new Scanner(System.in);

				//a??????
				int intA = sc.nextInt();
				//b??????
				int intB = sc.nextInt();

				double dbF; //?????°?????£?¨?
				//f???????????????????????°???????????§???????¨????
				 dbF = (double) intA /  (double) intB;
				 //?¨??????????db????????°??????string???????????????
				 String f2 = String.format("%.5f", dbF);
				//?¨??????????????????????a/b = d
				System.out.println(intA / intB + " " + intA % intB + " " + f2);
	}
}