import java.util.Scanner;

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

public class Main {
	void run(){
		Scanner s = new Scanner(System.in);
	    double a = s.nextDouble();
	    double b = s.nextDouble();
	    int d = (int)(a / b);
	    int r = (int)(a % b);
	    double f = a / b;
	    System.out.printf(d+" "+ r +" " + "%f", a/b);
	    
	}
	public static void main(String[] args) {
		
		new Main().run();
		
	}
}