import java.util.*;
class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		int a=Integer.parseInt(s.next()),
		    b=Integer.parseInt(s.next());
		System.out.printf("%d %d %f",a/b,a%b,1.0*a/b);
	}
} import java.util.*; util.* java class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		int a=Integer.parseInt(s.next()),
		    b=Integer.parseInt(s.next());
		System.out.printf("%d %d %f",a/b,a%b,1.0*a/b);
	}
} Main static Scanner s = new Scanner(System.in); s new Scanner(System.in) public static void main(String[] args) {
		int a=Integer.parseInt(s.next()),
		    b=Integer.parseInt(s.next());
		System.out.printf("%d %d %f",a/b,a%b,1.0*a/b);
	} main {
		int a=Integer.parseInt(s.next()),
		    b=Integer.parseInt(s.next());
		System.out.printf("%d %d %f",a/b,a%b,1.0*a/b);
	} int a=Integer.parseInt(s.next()) a Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s b=Integer.parseInt(s.next()); b Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s System.out.printf("%d %d %f",a/b,a%b,1.0*a/b) System.out.printf System.out System System.out "%d %d %f" a/b a b a%b a b 1.0*a/b 1.0*a 1.0 a b String[] args args
import java.util.*;
class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		int a=Integer.parseInt(s.next()),
		    b=Integer.parseInt(s.next());
		System.out.printf("%d %d %f",a/b,a%b,1.0*a/b);
	}
}