import java.io.*;
public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line = reader.readLine();
		String[] str1 = line.split(" ", -1);
		int a = Integer.parseInt(str1[0]);
		int b = Integer.parseInt(str1[1]);
		int d = a / b;
		int r = a % b;
		double f = ((double)a / (double)b);
		System.out.println(d);
		System.out.println(r);
		System.out.printf("%.5f",f);
		System.out.println();
	}
} import java.io.*; io.* java public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line = reader.readLine();
		String[] str1 = line.split(" ", -1);
		int a = Integer.parseInt(str1[0]);
		int b = Integer.parseInt(str1[1]);
		int d = a / b;
		int r = a % b;
		double f = ((double)a / (double)b);
		System.out.println(d);
		System.out.println(r);
		System.out.printf("%.5f",f);
		System.out.println();
	}
} Main public static void main(String[] args) throws IOException{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line = reader.readLine();
		String[] str1 = line.split(" ", -1);
		int a = Integer.parseInt(str1[0]);
		int b = Integer.parseInt(str1[1]);
		int d = a / b;
		int r = a % b;
		double f = ((double)a / (double)b);
		System.out.println(d);
		System.out.println(r);
		System.out.printf("%.5f",f);
		System.out.println();
	} main {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line = reader.readLine();
		String[] str1 = line.split(" ", -1);
		int a = Integer.parseInt(str1[0]);
		int b = Integer.parseInt(str1[1]);
		int d = a / b;
		int r = a % b;
		double f = ((double)a / (double)b);
		System.out.println(d);
		System.out.println(r);
		System.out.printf("%.5f",f);
		System.out.println();
	} BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String line = reader.readLine(); line reader.readLine() reader.readLine reader String[] str1 = line.split(" ", -1); str1 line.split(" ", -1) line.split line " " -1 1 int a = Integer.parseInt(str1[0]); a Integer.parseInt(str1[0]) Integer.parseInt Integer str1[0] str1 0 int b = Integer.parseInt(str1[1]); b Integer.parseInt(str1[1]) Integer.parseInt Integer str1[1] str1 1 int d = a / b; d a / b a b int r = a % b; r a % b a b double f = ((double)a / (double)b); f ((double)a / (double)b) (double)a (double)b System.out.println(d) System.out.println System.out System System.out d System.out.println(r) System.out.println System.out System System.out r System.out.printf("%.5f",f) System.out.printf System.out System System.out "%.5f" f System.out.println() System.out.println System.out System System.out String[] args args public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line = reader.readLine();
		String[] str1 = line.split(" ", -1);
		int a = Integer.parseInt(str1[0]);
		int b = Integer.parseInt(str1[1]);
		int d = a / b;
		int r = a % b;
		double f = ((double)a / (double)b);
		System.out.println(d);
		System.out.println(r);
		System.out.printf("%.5f",f);
		System.out.println();
	}
} public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line = reader.readLine();
		String[] str1 = line.split(" ", -1);
		int a = Integer.parseInt(str1[0]);
		int b = Integer.parseInt(str1[1]);
		int d = a / b;
		int r = a % b;
		double f = ((double)a / (double)b);
		System.out.println(d);
		System.out.println(r);
		System.out.printf("%.5f",f);
		System.out.println();
	}
} Main
import java.io.*;
public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line = reader.readLine();
		String[] str1 = line.split(" ", -1);
		int a = Integer.parseInt(str1[0]);
		int b = Integer.parseInt(str1[1]);
		int d = a / b;
		int r = a % b;
		double f = ((double)a / (double)b);
		System.out.println(d);
		System.out.println(r);
		System.out.printf("%.5f",f);
		System.out.println();
	}
}