import java.util.Scanner;

public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		System.out.println(a/b);
		System.out.println(a%b);
		System.out.printf("%f\n", (double)a/b);
	}
	public static void main(String[] args) {
		new Main().run();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		System.out.println(a/b);
		System.out.println(a%b);
		System.out.printf("%f\n", (double)a/b);
	}
	public static void main(String[] args) {
		new Main().run();
	}
} Main void run() {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		System.out.println(a/b);
		System.out.println(a%b);
		System.out.printf("%f\n", (double)a/b);
	} run {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		System.out.println(a/b);
		System.out.println(a%b);
		System.out.printf("%f\n", (double)a/b);
	} Scanner scan = new Scanner(System.in); scan new 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 System.out.printf("%f\n", (double)a/b) System.out.printf System.out System System.out "%f\n" (double)a/b (double)a b public static void main(String[] args) {
		new Main().run();
	} main {
		new Main().run();
	} new Main().run() new Main().run new Main() String[] args args public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		System.out.println(a/b);
		System.out.println(a%b);
		System.out.printf("%f\n", (double)a/b);
	}
	public static void main(String[] args) {
		new Main().run();
	}
} public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		System.out.println(a/b);
		System.out.println(a%b);
		System.out.printf("%f\n", (double)a/b);
	}
	public static void main(String[] args) {
		new Main().run();
	}
} Main
import java.util.Scanner;

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