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

public class Main {
	public static void main(String[] args) {
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


		  try{


			  String ab;
			  String[] strAry;
			  int a;
			  int b;
			  int d;
			  int r;
			  double e;
			  double h;
			  double f;

			
			  ab = input.readLine();
		      strAry = ab.split(" ");
		      a=Integer.parseInt(strAry[0]);
	          b=Integer.parseInt(strAry[1]);

			  d=a/b;
			  r=a%b;
			  e=a;
			  h=b;
			  f=e/h;

			  System.out.printf(d+" "+r+" "+"%f",f);



		    }catch(IOException e) {   System.out.println("Exception : " + e);
		    }

	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) {
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


		  try{


			  String ab;
			  String[] strAry;
			  int a;
			  int b;
			  int d;
			  int r;
			  double e;
			  double h;
			  double f;

			
			  ab = input.readLine();
		      strAry = ab.split(" ");
		      a=Integer.parseInt(strAry[0]);
	          b=Integer.parseInt(strAry[1]);

			  d=a/b;
			  r=a%b;
			  e=a;
			  h=b;
			  f=e/h;

			  System.out.printf(d+" "+r+" "+"%f",f);



		    }catch(IOException e) {   System.out.println("Exception : " + e);
		    }

	}
} Main public static void main(String[] args) {
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


		  try{


			  String ab;
			  String[] strAry;
			  int a;
			  int b;
			  int d;
			  int r;
			  double e;
			  double h;
			  double f;

			
			  ab = input.readLine();
		      strAry = ab.split(" ");
		      a=Integer.parseInt(strAry[0]);
	          b=Integer.parseInt(strAry[1]);

			  d=a/b;
			  r=a%b;
			  e=a;
			  h=b;
			  f=e/h;

			  System.out.printf(d+" "+r+" "+"%f",f);



		    }catch(IOException e) {   System.out.println("Exception : " + e);
		    }

	} main {
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


		  try{


			  String ab;
			  String[] strAry;
			  int a;
			  int b;
			  int d;
			  int r;
			  double e;
			  double h;
			  double f;

			
			  ab = input.readLine();
		      strAry = ab.split(" ");
		      a=Integer.parseInt(strAry[0]);
	          b=Integer.parseInt(strAry[1]);

			  d=a/b;
			  r=a%b;
			  e=a;
			  h=b;
			  f=e/h;

			  System.out.printf(d+" "+r+" "+"%f",f);



		    }catch(IOException e) {   System.out.println("Exception : " + e);
		    }

	} BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); input new BufferedReader(new InputStreamReader(System.in)) try{


			  String ab;
			  String[] strAry;
			  int a;
			  int b;
			  int d;
			  int r;
			  double e;
			  double h;
			  double f;

			
			  ab = input.readLine();
		      strAry = ab.split(" ");
		      a=Integer.parseInt(strAry[0]);
	          b=Integer.parseInt(strAry[1]);

			  d=a/b;
			  r=a%b;
			  e=a;
			  h=b;
			  f=e/h;

			  System.out.printf(d+" "+r+" "+"%f",f);



		    }catch(IOException e) {   System.out.println("Exception : " + e);
		    } catch(IOException e) {   System.out.println("Exception : " + e);
		    } IOException e {   System.out.println("Exception : " + e);
		    } System.out.println("Exception : " + e) System.out.println System.out System System.out "Exception : " + e "Exception : " e {


			  String ab;
			  String[] strAry;
			  int a;
			  int b;
			  int d;
			  int r;
			  double e;
			  double h;
			  double f;

			
			  ab = input.readLine();
		      strAry = ab.split(" ");
		      a=Integer.parseInt(strAry[0]);
	          b=Integer.parseInt(strAry[1]);

			  d=a/b;
			  r=a%b;
			  e=a;
			  h=b;
			  f=e/h;

			  System.out.printf(d+" "+r+" "+"%f",f);



		    } String ab; ab String[] strAry; strAry int a; a int b; b int d; d int r; r double e; e double h; h double f; f ab = input.readLine() ab input.readLine() input.readLine input strAry = ab.split(" ") strAry ab.split(" ") ab.split ab " " a=Integer.parseInt(strAry[0]) a Integer.parseInt(strAry[0]) Integer.parseInt Integer strAry[0] strAry 0 b=Integer.parseInt(strAry[1]) b Integer.parseInt(strAry[1]) Integer.parseInt Integer strAry[1] strAry 1 d=a/b d a/b a b r=a%b r a%b a b e=a e a h=b h b f=e/h f e/h e h System.out.printf(d+" "+r+" "+"%f",f) System.out.printf System.out System System.out d+" "+r+" "+"%f" " " r d+" "+r+" "+"%f" d " " r " " "%f" f String[] args args public class Main {
	public static void main(String[] args) {
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


		  try{


			  String ab;
			  String[] strAry;
			  int a;
			  int b;
			  int d;
			  int r;
			  double e;
			  double h;
			  double f;

			
			  ab = input.readLine();
		      strAry = ab.split(" ");
		      a=Integer.parseInt(strAry[0]);
	          b=Integer.parseInt(strAry[1]);

			  d=a/b;
			  r=a%b;
			  e=a;
			  h=b;
			  f=e/h;

			  System.out.printf(d+" "+r+" "+"%f",f);



		    }catch(IOException e) {   System.out.println("Exception : " + e);
		    }

	}
} public class Main {
	public static void main(String[] args) {
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


		  try{


			  String ab;
			  String[] strAry;
			  int a;
			  int b;
			  int d;
			  int r;
			  double e;
			  double h;
			  double f;

			
			  ab = input.readLine();
		      strAry = ab.split(" ");
		      a=Integer.parseInt(strAry[0]);
	          b=Integer.parseInt(strAry[1]);

			  d=a/b;
			  r=a%b;
			  e=a;
			  h=b;
			  f=e/h;

			  System.out.printf(d+" "+r+" "+"%f",f);



		    }catch(IOException e) {   System.out.println("Exception : " + e);
		    }

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

public class Main {
	public static void main(String[] args) {
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


		  try{


			  String ab;
			  String[] strAry;
			  int a;
			  int b;
			  int d;
			  int r;
			  double e;
			  double h;
			  double f;

			
			  ab = input.readLine();
		      strAry = ab.split(" ");
		      a=Integer.parseInt(strAry[0]);
	          b=Integer.parseInt(strAry[1]);

			  d=a/b;
			  r=a%b;
			  e=a;
			  h=b;
			  f=e/h;

			  System.out.printf(d+" "+r+" "+"%f",f);



		    }catch(IOException e) {   System.out.println("Exception : " + e);
		    }

	}
}