import java.util.Scanner;

public class Main {
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		String a1 = sc.next();
		String b1 = sc.next();

		int a = Integer.parseInt(a1);
		int b = Integer.parseInt(b1);

		int d = a/b;
		int r = a%b;
		double f = a/(double)b;

		System.out.println(d);
		System.out.println(r);

		System.out.println(String.format("%f", f));
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		String a1 = sc.next();
		String b1 = sc.next();

		int a = Integer.parseInt(a1);
		int b = Integer.parseInt(b1);

		int d = a/b;
		int r = a%b;
		double f = a/(double)b;

		System.out.println(d);
		System.out.println(r);

		System.out.println(String.format("%f", f));
	}
} Main public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		String a1 = sc.next();
		String b1 = sc.next();

		int a = Integer.parseInt(a1);
		int b = Integer.parseInt(b1);

		int d = a/b;
		int r = a%b;
		double f = a/(double)b;

		System.out.println(d);
		System.out.println(r);

		System.out.println(String.format("%f", f));
	} main {

		Scanner sc = new Scanner(System.in);
		String a1 = sc.next();
		String b1 = sc.next();

		int a = Integer.parseInt(a1);
		int b = Integer.parseInt(b1);

		int d = a/b;
		int r = a%b;
		double f = a/(double)b;

		System.out.println(d);
		System.out.println(r);

		System.out.println(String.format("%f", f));
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String a1 = sc.next(); a1 sc.next() sc.next sc String b1 = sc.next(); b1 sc.next() sc.next sc int a = Integer.parseInt(a1); a Integer.parseInt(a1) Integer.parseInt Integer a1 int b = Integer.parseInt(b1); b Integer.parseInt(b1) Integer.parseInt Integer b1 int d = a/b; d a/b a b int r = a%b; r a%b a b double f = a/(double)b; f a/(double)b 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.println(String.format("%f", f)) System.out.println System.out System System.out String.format("%f", f) String.format String "%f" f String[] args args public class Main {
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		String a1 = sc.next();
		String b1 = sc.next();

		int a = Integer.parseInt(a1);
		int b = Integer.parseInt(b1);

		int d = a/b;
		int r = a%b;
		double f = a/(double)b;

		System.out.println(d);
		System.out.println(r);

		System.out.println(String.format("%f", f));
	}
} public class Main {
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		String a1 = sc.next();
		String b1 = sc.next();

		int a = Integer.parseInt(a1);
		int b = Integer.parseInt(b1);

		int d = a/b;
		int r = a%b;
		double f = a/(double)b;

		System.out.println(d);
		System.out.println(r);

		System.out.println(String.format("%f", f));
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		String a1 = sc.next();
		String b1 = sc.next();

		int a = Integer.parseInt(a1);
		int b = Integer.parseInt(b1);

		int d = a/b;
		int r = a%b;
		double f = a/(double)b;

		System.out.println(d);
		System.out.println(r);

		System.out.println(String.format("%f", f));
	}
}