import java.util.Scanner;

public class Main {
	public static void main(String[] age){
		Scanner G = new Scanner(System.in);
		String imput = G.nextLine();
		String[] imputarray = imput.split(" ");
		StringBuilder sb = new StringBuilder();
		double a = Integer.parseInt(imputarray[0]);
		double b = Integer.parseInt(imputarray[1]);
		double c = a/b;
		double d = a%b;
		int f = (int)c;
		int g = (int)d;
		double e = a/b;
		String reale = String.format("%.5f", e);
		sb.append(Integer.toString(f)).append(" ").append(Integer.toString(g)).append(" ").append(reale);
		System.out.println(sb);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] age){
		Scanner G = new Scanner(System.in);
		String imput = G.nextLine();
		String[] imputarray = imput.split(" ");
		StringBuilder sb = new StringBuilder();
		double a = Integer.parseInt(imputarray[0]);
		double b = Integer.parseInt(imputarray[1]);
		double c = a/b;
		double d = a%b;
		int f = (int)c;
		int g = (int)d;
		double e = a/b;
		String reale = String.format("%.5f", e);
		sb.append(Integer.toString(f)).append(" ").append(Integer.toString(g)).append(" ").append(reale);
		System.out.println(sb);
	}
} Main public static void main(String[] age){
		Scanner G = new Scanner(System.in);
		String imput = G.nextLine();
		String[] imputarray = imput.split(" ");
		StringBuilder sb = new StringBuilder();
		double a = Integer.parseInt(imputarray[0]);
		double b = Integer.parseInt(imputarray[1]);
		double c = a/b;
		double d = a%b;
		int f = (int)c;
		int g = (int)d;
		double e = a/b;
		String reale = String.format("%.5f", e);
		sb.append(Integer.toString(f)).append(" ").append(Integer.toString(g)).append(" ").append(reale);
		System.out.println(sb);
	} main {
		Scanner G = new Scanner(System.in);
		String imput = G.nextLine();
		String[] imputarray = imput.split(" ");
		StringBuilder sb = new StringBuilder();
		double a = Integer.parseInt(imputarray[0]);
		double b = Integer.parseInt(imputarray[1]);
		double c = a/b;
		double d = a%b;
		int f = (int)c;
		int g = (int)d;
		double e = a/b;
		String reale = String.format("%.5f", e);
		sb.append(Integer.toString(f)).append(" ").append(Integer.toString(g)).append(" ").append(reale);
		System.out.println(sb);
	} Scanner G = new Scanner(System.in); G new Scanner(System.in) String imput = G.nextLine(); imput G.nextLine() G.nextLine G String[] imputarray = imput.split(" "); imputarray imput.split(" ") imput.split imput " " StringBuilder sb = new StringBuilder(); sb new StringBuilder() double a = Integer.parseInt(imputarray[0]); a Integer.parseInt(imputarray[0]) Integer.parseInt Integer imputarray[0] imputarray 0 double b = Integer.parseInt(imputarray[1]); b Integer.parseInt(imputarray[1]) Integer.parseInt Integer imputarray[1] imputarray 1 double c = a/b; c a/b a b double d = a%b; d a%b a b int f = (int)c; f (int)c int g = (int)d; g (int)d double e = a/b; e a/b a b String reale = String.format("%.5f", e); reale String.format("%.5f", e) String.format String "%.5f" e sb.append(Integer.toString(f)).append(" ").append(Integer.toString(g)).append(" ").append(reale) sb.append(Integer.toString(f)).append(" ").append(Integer.toString(g)).append(" ").append sb.append(Integer.toString(f)).append(" ").append(Integer.toString(g)).append(" ") sb.append(Integer.toString(f)).append(" ").append(Integer.toString(g)).append sb.append(Integer.toString(f)).append(" ").append(Integer.toString(g)) sb.append(Integer.toString(f)).append(" ").append sb.append(Integer.toString(f)).append(" ") sb.append(Integer.toString(f)).append sb.append(Integer.toString(f)) sb.append sb Integer.toString(f) Integer.toString Integer f " " Integer.toString(g) Integer.toString Integer g " " reale System.out.println(sb) System.out.println System.out System System.out sb String[] age age public class Main {
	public static void main(String[] age){
		Scanner G = new Scanner(System.in);
		String imput = G.nextLine();
		String[] imputarray = imput.split(" ");
		StringBuilder sb = new StringBuilder();
		double a = Integer.parseInt(imputarray[0]);
		double b = Integer.parseInt(imputarray[1]);
		double c = a/b;
		double d = a%b;
		int f = (int)c;
		int g = (int)d;
		double e = a/b;
		String reale = String.format("%.5f", e);
		sb.append(Integer.toString(f)).append(" ").append(Integer.toString(g)).append(" ").append(reale);
		System.out.println(sb);
	}
} public class Main {
	public static void main(String[] age){
		Scanner G = new Scanner(System.in);
		String imput = G.nextLine();
		String[] imputarray = imput.split(" ");
		StringBuilder sb = new StringBuilder();
		double a = Integer.parseInt(imputarray[0]);
		double b = Integer.parseInt(imputarray[1]);
		double c = a/b;
		double d = a%b;
		int f = (int)c;
		int g = (int)d;
		double e = a/b;
		String reale = String.format("%.5f", e);
		sb.append(Integer.toString(f)).append(" ").append(Integer.toString(g)).append(" ").append(reale);
		System.out.println(sb);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] age){
		Scanner G = new Scanner(System.in);
		String imput = G.nextLine();
		String[] imputarray = imput.split(" ");
		StringBuilder sb = new StringBuilder();
		double a = Integer.parseInt(imputarray[0]);
		double b = Integer.parseInt(imputarray[1]);
		double c = a/b;
		double d = a%b;
		int f = (int)c;
		int g = (int)d;
		double e = a/b;
		String reale = String.format("%.5f", e);
		sb.append(Integer.toString(f)).append(" ").append(Integer.toString(g)).append(" ").append(reale);
		System.out.println(sb);
	}
}