import java.util.ArrayList;
import java.util.Scanner;

public class Main {
	    /**
	     * ??????????????????
	     * @param a
	     * @param b
	     * @return
	     */
 public static int integer(int a,int b){
	 int result1 = 0;
	 result1 = a / b;
	 return result1;
	}
 public static int too(int a,int b){
	 int result2 = 0;
	 result2 = a % b;
	 return result2;
	}
 public static double fpn(double aa,double bb){ //fpn:Floting Point Numbers.
	 double result3 = 0.0;
	 result3 = aa / bb;
	 return result3;
	}

	public static void main(String[] args) {
		/**
		 * ?????°?????£?¨?
		 */
		int a,b,d,r;
		double f,aa,bb;
		int len1;
		/**
		 * ???????????£?¨?
		 */
		ArrayList<String> st = new ArrayList<String>();
		ArrayList<Integer> parse = new ArrayList<Integer>();
		ArrayList<Integer> bet = new ArrayList<Integer>();
		/**
		 * ?????????????????\?????¨????????????????´?
		 */
		Scanner scan = new Scanner(System.in);
		for(int i = 0; i < 2; i++){ //??\?????´??°???2???
		st.add(scan.next());
		}
		len1 = st.size(); //?????????????´???°
		/**
		 * String???int??????,int???????????????????´?
		 */
		a = Integer.parseInt(st.get(0));
		parse.add(a);
		b = Integer.parseInt(st.get(1));
		parse.add(b);
		/**
		 * String???double??????
		 */
		aa = Double.parseDouble(st.get(0));
		bb = Double.parseDouble(st.get(1));
		/**
		 * ????????\?¨?
		 */
		d = integer(a,b);
		r = too(a,b);
		f = fpn(aa,bb);

		System.out.printf(d+(" ")+r+(" "));
		System.out.printf("%6.5f\n",f);
	}

} import java.util.ArrayList; ArrayList java.util import java.util.Scanner; Scanner java.util public class Main {
	    /**
	     * ??????????????????
	     * @param a
	     * @param b
	     * @return
	     */
 public static int integer(int a,int b){
	 int result1 = 0;
	 result1 = a / b;
	 return result1;
	}
 public static int too(int a,int b){
	 int result2 = 0;
	 result2 = a % b;
	 return result2;
	}
 public static double fpn(double aa,double bb){ //fpn:Floting Point Numbers.
	 double result3 = 0.0;
	 result3 = aa / bb;
	 return result3;
	}

	public static void main(String[] args) {
		/**
		 * ?????°?????£?¨?
		 */
		int a,b,d,r;
		double f,aa,bb;
		int len1;
		/**
		 * ???????????£?¨?
		 */
		ArrayList<String> st = new ArrayList<String>();
		ArrayList<Integer> parse = new ArrayList<Integer>();
		ArrayList<Integer> bet = new ArrayList<Integer>();
		/**
		 * ?????????????????\?????¨????????????????´?
		 */
		Scanner scan = new Scanner(System.in);
		for(int i = 0; i < 2; i++){ //??\?????´??°???2???
		st.add(scan.next());
		}
		len1 = st.size(); //?????????????´???°
		/**
		 * String???int??????,int???????????????????´?
		 */
		a = Integer.parseInt(st.get(0));
		parse.add(a);
		b = Integer.parseInt(st.get(1));
		parse.add(b);
		/**
		 * String???double??????
		 */
		aa = Double.parseDouble(st.get(0));
		bb = Double.parseDouble(st.get(1));
		/**
		 * ????????\?¨?
		 */
		d = integer(a,b);
		r = too(a,b);
		f = fpn(aa,bb);

		System.out.printf(d+(" ")+r+(" "));
		System.out.printf("%6.5f\n",f);
	}

} Main /**
	     * ??????????????????
	     * @param a
	     * @param b
	     * @return
	     */
 public static int integer(int a,int b){
	 int result1 = 0;
	 result1 = a / b;
	 return result1;
	} integer {
	 int result1 = 0;
	 result1 = a / b;
	 return result1;
	} int result1 = 0; result1 0 result1 = a / b result1 a / b a b return result1; result1 int a a int b b public static int too(int a,int b){
	 int result2 = 0;
	 result2 = a % b;
	 return result2;
	} too {
	 int result2 = 0;
	 result2 = a % b;
	 return result2;
	} int result2 = 0; result2 0 result2 = a % b result2 a % b a b return result2; result2 int a a int b b public static double fpn(double aa,double bb){ //fpn:Floting Point Numbers.
	 double result3 = 0.0;
	 result3 = aa / bb;
	 return result3;
	} fpn { //fpn:Floting Point Numbers.
	 double result3 = 0.0;
	 result3 = aa / bb;
	 return result3;
	} double result3 = 0.0; result3 0.0 result3 = aa / bb result3 aa / bb aa bb return result3; result3 double aa aa double bb bb public static void main(String[] args) {
		/**
		 * ?????°?????£?¨?
		 */
		int a,b,d,r;
		double f,aa,bb;
		int len1;
		/**
		 * ???????????£?¨?
		 */
		ArrayList<String> st = new ArrayList<String>();
		ArrayList<Integer> parse = new ArrayList<Integer>();
		ArrayList<Integer> bet = new ArrayList<Integer>();
		/**
		 * ?????????????????\?????¨????????????????´?
		 */
		Scanner scan = new Scanner(System.in);
		for(int i = 0; i < 2; i++){ //??\?????´??°???2???
		st.add(scan.next());
		}
		len1 = st.size(); //?????????????´???°
		/**
		 * String???int??????,int???????????????????´?
		 */
		a = Integer.parseInt(st.get(0));
		parse.add(a);
		b = Integer.parseInt(st.get(1));
		parse.add(b);
		/**
		 * String???double??????
		 */
		aa = Double.parseDouble(st.get(0));
		bb = Double.parseDouble(st.get(1));
		/**
		 * ????????\?¨?
		 */
		d = integer(a,b);
		r = too(a,b);
		f = fpn(aa,bb);

		System.out.printf(d+(" ")+r+(" "));
		System.out.printf("%6.5f\n",f);
	} main {
		/**
		 * ?????°?????£?¨?
		 */
		int a,b,d,r;
		double f,aa,bb;
		int len1;
		/**
		 * ???????????£?¨?
		 */
		ArrayList<String> st = new ArrayList<String>();
		ArrayList<Integer> parse = new ArrayList<Integer>();
		ArrayList<Integer> bet = new ArrayList<Integer>();
		/**
		 * ?????????????????\?????¨????????????????´?
		 */
		Scanner scan = new Scanner(System.in);
		for(int i = 0; i < 2; i++){ //??\?????´??°???2???
		st.add(scan.next());
		}
		len1 = st.size(); //?????????????´???°
		/**
		 * String???int??????,int???????????????????´?
		 */
		a = Integer.parseInt(st.get(0));
		parse.add(a);
		b = Integer.parseInt(st.get(1));
		parse.add(b);
		/**
		 * String???double??????
		 */
		aa = Double.parseDouble(st.get(0));
		bb = Double.parseDouble(st.get(1));
		/**
		 * ????????\?¨?
		 */
		d = integer(a,b);
		r = too(a,b);
		f = fpn(aa,bb);

		System.out.printf(d+(" ")+r+(" "));
		System.out.printf("%6.5f\n",f);
	} int a a b b d d r; r double f f aa aa bb; bb int len1; len1 ArrayList<String> st = new ArrayList<String>(); st new ArrayList<String>() ArrayList<Integer> parse = new ArrayList<Integer>(); parse new ArrayList<Integer>() ArrayList<Integer> bet = new ArrayList<Integer>(); bet new ArrayList<Integer>() Scanner scan = new Scanner(System.in); scan new Scanner(System.in) for(int i = 0; i < 2; i++){ //??\?????´??°???2???
		st.add(scan.next());
		} int i = 0; int i = 0; i 0 i < 2 i 2 i++ i++ i { //??\?????´??°???2???
		st.add(scan.next());
		} { //??\?????´??°???2???
		st.add(scan.next());
		} st.add(scan.next()) st.add st scan.next() scan.next scan len1 = st.size() len1 st.size() st.size st a = Integer.parseInt(st.get(0)) a Integer.parseInt(st.get(0)) Integer.parseInt Integer st.get(0) st.get st 0 parse.add(a) parse.add parse a b = Integer.parseInt(st.get(1)) b Integer.parseInt(st.get(1)) Integer.parseInt Integer st.get(1) st.get st 1 parse.add(b) parse.add parse b aa = Double.parseDouble(st.get(0)) aa Double.parseDouble(st.get(0)) Double.parseDouble Double st.get(0) st.get st 0 bb = Double.parseDouble(st.get(1)) bb Double.parseDouble(st.get(1)) Double.parseDouble Double st.get(1) st.get st 1 d = integer(a,b) d integer(a,b) integer a b r = too(a,b) r too(a,b) too a b f = fpn(aa,bb) f fpn(aa,bb) fpn aa bb System.out.printf(d+(" ")+r+(" ")) System.out.printf System.out System System.out d+(" ")+r+(" ") r d+(" ")+r+(" ") d (" ") r (" ") System.out.printf("%6.5f\n",f) System.out.printf System.out System System.out "%6.5f\n" f String[] args args public class Main {
	    /**
	     * ??????????????????
	     * @param a
	     * @param b
	     * @return
	     */
 public static int integer(int a,int b){
	 int result1 = 0;
	 result1 = a / b;
	 return result1;
	}
 public static int too(int a,int b){
	 int result2 = 0;
	 result2 = a % b;
	 return result2;
	}
 public static double fpn(double aa,double bb){ //fpn:Floting Point Numbers.
	 double result3 = 0.0;
	 result3 = aa / bb;
	 return result3;
	}

	public static void main(String[] args) {
		/**
		 * ?????°?????£?¨?
		 */
		int a,b,d,r;
		double f,aa,bb;
		int len1;
		/**
		 * ???????????£?¨?
		 */
		ArrayList<String> st = new ArrayList<String>();
		ArrayList<Integer> parse = new ArrayList<Integer>();
		ArrayList<Integer> bet = new ArrayList<Integer>();
		/**
		 * ?????????????????\?????¨????????????????´?
		 */
		Scanner scan = new Scanner(System.in);
		for(int i = 0; i < 2; i++){ //??\?????´??°???2???
		st.add(scan.next());
		}
		len1 = st.size(); //?????????????´???°
		/**
		 * String???int??????,int???????????????????´?
		 */
		a = Integer.parseInt(st.get(0));
		parse.add(a);
		b = Integer.parseInt(st.get(1));
		parse.add(b);
		/**
		 * String???double??????
		 */
		aa = Double.parseDouble(st.get(0));
		bb = Double.parseDouble(st.get(1));
		/**
		 * ????????\?¨?
		 */
		d = integer(a,b);
		r = too(a,b);
		f = fpn(aa,bb);

		System.out.printf(d+(" ")+r+(" "));
		System.out.printf("%6.5f\n",f);
	}

} public class Main {
	    /**
	     * ??????????????????
	     * @param a
	     * @param b
	     * @return
	     */
 public static int integer(int a,int b){
	 int result1 = 0;
	 result1 = a / b;
	 return result1;
	}
 public static int too(int a,int b){
	 int result2 = 0;
	 result2 = a % b;
	 return result2;
	}
 public static double fpn(double aa,double bb){ //fpn:Floting Point Numbers.
	 double result3 = 0.0;
	 result3 = aa / bb;
	 return result3;
	}

	public static void main(String[] args) {
		/**
		 * ?????°?????£?¨?
		 */
		int a,b,d,r;
		double f,aa,bb;
		int len1;
		/**
		 * ???????????£?¨?
		 */
		ArrayList<String> st = new ArrayList<String>();
		ArrayList<Integer> parse = new ArrayList<Integer>();
		ArrayList<Integer> bet = new ArrayList<Integer>();
		/**
		 * ?????????????????\?????¨????????????????´?
		 */
		Scanner scan = new Scanner(System.in);
		for(int i = 0; i < 2; i++){ //??\?????´??°???2???
		st.add(scan.next());
		}
		len1 = st.size(); //?????????????´???°
		/**
		 * String???int??????,int???????????????????´?
		 */
		a = Integer.parseInt(st.get(0));
		parse.add(a);
		b = Integer.parseInt(st.get(1));
		parse.add(b);
		/**
		 * String???double??????
		 */
		aa = Double.parseDouble(st.get(0));
		bb = Double.parseDouble(st.get(1));
		/**
		 * ????????\?¨?
		 */
		d = integer(a,b);
		r = too(a,b);
		f = fpn(aa,bb);

		System.out.printf(d+(" ")+r+(" "));
		System.out.printf("%6.5f\n",f);
	}

} Main
import java.util.ArrayList;
import java.util.Scanner;

public class Main {
	    /**
	     * ??????????????????
	     * @param a
	     * @param b
	     * @return
	     */
 public static int integer(int a,int b){
	 int result1 = 0;
	 result1 = a / b;
	 return result1;
	}
 public static int too(int a,int b){
	 int result2 = 0;
	 result2 = a % b;
	 return result2;
	}
 public static double fpn(double aa,double bb){ //fpn:Floting Point Numbers.
	 double result3 = 0.0;
	 result3 = aa / bb;
	 return result3;
	}

	public static void main(String[] args) {
		/**
		 * ?????°?????£?¨?
		 */
		int a,b,d,r;
		double f,aa,bb;
		int len1;
		/**
		 * ???????????£?¨?
		 */
		ArrayList<String> st = new ArrayList<String>();
		ArrayList<Integer> parse = new ArrayList<Integer>();
		ArrayList<Integer> bet = new ArrayList<Integer>();
		/**
		 * ?????????????????\?????¨????????????????´?
		 */
		Scanner scan = new Scanner(System.in);
		for(int i = 0; i < 2; i++){ //??\?????´??°???2???
		st.add(scan.next());
		}
		len1 = st.size(); //?????????????´???°
		/**
		 * String???int??????,int???????????????????´?
		 */
		a = Integer.parseInt(st.get(0));
		parse.add(a);
		b = Integer.parseInt(st.get(1));
		parse.add(b);
		/**
		 * String???double??????
		 */
		aa = Double.parseDouble(st.get(0));
		bb = Double.parseDouble(st.get(1));
		/**
		 * ????????\?¨?
		 */
		d = integer(a,b);
		r = too(a,b);
		f = fpn(aa,bb);

		System.out.printf(d+(" ")+r+(" "));
		System.out.printf("%6.5f\n",f);
	}

}