public class Main {
	public static void  main(String[] args){
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();

		//int d;
		//d = a/b;
		System.out.println(a/b);

		//int r;
		//r = a%b;
		System.out.println(a%b);

		double f = (double)a/b;
		System.out.printf("%f\n",f);
	}

} public class Main {
	public static void  main(String[] args){
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();

		//int d;
		//d = a/b;
		System.out.println(a/b);

		//int r;
		//r = a%b;
		System.out.println(a%b);

		double f = (double)a/b;
		System.out.printf("%f\n",f);
	}

} Main public static void  main(String[] args){
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();

		//int d;
		//d = a/b;
		System.out.println(a/b);

		//int r;
		//r = a%b;
		System.out.println(a%b);

		double f = (double)a/b;
		System.out.printf("%f\n",f);
	} main {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();

		//int d;
		//d = a/b;
		System.out.println(a/b);

		//int r;
		//r = a%b;
		System.out.println(a%b);

		double f = (double)a/b;
		System.out.printf("%f\n",f);
	} java.util.Scanner scan = new java.util.Scanner(System.in); scan new java.util.Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan System.out.println(a/b) System.out.println System.out System System.out a/b a b System.out.println(a%b) System.out.println System.out System System.out a%b a b double f = (double)a/b; f (double)a/b (double)a b System.out.printf("%f\n",f) System.out.printf System.out System System.out "%f\n" f String[] args args public class Main {
	public static void  main(String[] args){
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();

		//int d;
		//d = a/b;
		System.out.println(a/b);

		//int r;
		//r = a%b;
		System.out.println(a%b);

		double f = (double)a/b;
		System.out.printf("%f\n",f);
	}

} public class Main {
	public static void  main(String[] args){
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();

		//int d;
		//d = a/b;
		System.out.println(a/b);

		//int r;
		//r = a%b;
		System.out.println(a%b);

		double f = (double)a/b;
		System.out.printf("%f\n",f);
	}

} Main
public class Main {
	public static void  main(String[] args){
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();

		//int d;
		//d = a/b;
		System.out.println(a/b);

		//int r;
		//r = a%b;
		System.out.println(a%b);

		double f = (double)a/b;
		System.out.printf("%f\n",f);
	}

}