import java.io.*;
 import java.util.*;

public class Main{
static public void main(String args[]){
Scanner scan=new Scanner(System.in);
Calculate calc = new Calculate(scan.nextInt(),
								scan.nextInt());
	calc.show();
}
}

class Calculate{
	int a;
	int b;
  Calculate(int x, int y) {
  	a=x;
	b=y;
  }
	public void show(){
	System.out.printf("%d %d %.6f", a/b, a%b, (double)a/b);
}

} import java.io.*; io.* java import java.util.*; util.* java public class Main{
static public void main(String args[]){
Scanner scan=new Scanner(System.in);
Calculate calc = new Calculate(scan.nextInt(),
								scan.nextInt());
	calc.show();
}
} Main static public void main(String args[]){
Scanner scan=new Scanner(System.in);
Calculate calc = new Calculate(scan.nextInt(),
								scan.nextInt());
	calc.show();
} main {
Scanner scan=new Scanner(System.in);
Calculate calc = new Calculate(scan.nextInt(),
								scan.nextInt());
	calc.show();
} Scanner scan=new Scanner(System.in); scan new Scanner(System.in) Calculate calc = new Calculate(scan.nextInt(),
								scan.nextInt()); calc new Calculate(scan.nextInt(),
								scan.nextInt()) calc.show() calc.show calc String args[] args class Calculate{
	int a;
	int b;
  Calculate(int x, int y) {
  	a=x;
	b=y;
  }
	public void show(){
	System.out.printf("%d %d %.6f", a/b, a%b, (double)a/b);
}

} Calculate int a; a int b; b Calculate(int x, int y) {
  	a=x;
	b=y;
  } Calculate {
  	a=x;
	b=y;
  } a=x a x b=y b y int x x int y y public void show(){
	System.out.printf("%d %d %.6f", a/b, a%b, (double)a/b);
} show {
	System.out.printf("%d %d %.6f", a/b, a%b, (double)a/b);
} System.out.printf("%d %d %.6f", a/b, a%b, (double)a/b) System.out.printf System.out System System.out "%d %d %.6f" a/b a b a%b a b (double)a/b (double)a b public class Main{
static public void main(String args[]){
Scanner scan=new Scanner(System.in);
Calculate calc = new Calculate(scan.nextInt(),
								scan.nextInt());
	calc.show();
}
} public class Main{
static public void main(String args[]){
Scanner scan=new Scanner(System.in);
Calculate calc = new Calculate(scan.nextInt(),
								scan.nextInt());
	calc.show();
}
} Main
import java.io.*;
 import java.util.*;

public class Main{
static public void main(String args[]){
Scanner scan=new Scanner(System.in);
Calculate calc = new Calculate(scan.nextInt(),
								scan.nextInt());
	calc.show();
}
}

class Calculate{
	int a;
	int b;
  Calculate(int x, int y) {
  	a=x;
	b=y;
  }
	public void show(){
	System.out.printf("%d %d %.6f", a/b, a%b, (double)a/b);
}

}