import java.io.*;
 import java.util.*;
public class Main{
  static public void main(String args[]){
 try {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf = br.readLine();

String[] tmp = buf.split(" ",0);

Calculate calc = new Calculate(Integer.parseInt(tmp[0]),
								Integer.parseInt(tmp[1]));
	calc.show();
    } catch(IOException e) {
      System.err.println(e.getMessage());
    }
}
}

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[]){
 try {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf = br.readLine();

String[] tmp = buf.split(" ",0);

Calculate calc = new Calculate(Integer.parseInt(tmp[0]),
								Integer.parseInt(tmp[1]));
	calc.show();
    } catch(IOException e) {
      System.err.println(e.getMessage());
    }
}
} Main static public void main(String args[]){
 try {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf = br.readLine();

String[] tmp = buf.split(" ",0);

Calculate calc = new Calculate(Integer.parseInt(tmp[0]),
								Integer.parseInt(tmp[1]));
	calc.show();
    } catch(IOException e) {
      System.err.println(e.getMessage());
    }
} main {
 try {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf = br.readLine();

String[] tmp = buf.split(" ",0);

Calculate calc = new Calculate(Integer.parseInt(tmp[0]),
								Integer.parseInt(tmp[1]));
	calc.show();
    } catch(IOException e) {
      System.err.println(e.getMessage());
    }
} try {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf = br.readLine();

String[] tmp = buf.split(" ",0);

Calculate calc = new Calculate(Integer.parseInt(tmp[0]),
								Integer.parseInt(tmp[1]));
	calc.show();
    } catch(IOException e) {
      System.err.println(e.getMessage());
    } catch(IOException e) {
      System.err.println(e.getMessage());
    } IOException e {
      System.err.println(e.getMessage());
    } System.err.println(e.getMessage()) System.err.println System.err System System.err e.getMessage() e.getMessage e {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf = br.readLine();

String[] tmp = buf.split(" ",0);

Calculate calc = new Calculate(Integer.parseInt(tmp[0]),
								Integer.parseInt(tmp[1]));
	calc.show();
    } InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) String buf = br.readLine(); buf br.readLine() br.readLine br String[] tmp = buf.split(" ",0); tmp buf.split(" ",0) buf.split buf " " 0 Calculate calc = new Calculate(Integer.parseInt(tmp[0]),
								Integer.parseInt(tmp[1])); calc new Calculate(Integer.parseInt(tmp[0]),
								Integer.parseInt(tmp[1])) 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[]){
 try {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf = br.readLine();

String[] tmp = buf.split(" ",0);

Calculate calc = new Calculate(Integer.parseInt(tmp[0]),
								Integer.parseInt(tmp[1]));
	calc.show();
    } catch(IOException e) {
      System.err.println(e.getMessage());
    }
}
} public class Main{
  static public void main(String args[]){
 try {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf = br.readLine();

String[] tmp = buf.split(" ",0);

Calculate calc = new Calculate(Integer.parseInt(tmp[0]),
								Integer.parseInt(tmp[1]));
	calc.show();
    } catch(IOException e) {
      System.err.println(e.getMessage());
    }
}
} Main
import java.io.*;
 import java.util.*;
public class Main{
  static public void main(String args[]){
 try {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf = br.readLine();

String[] tmp = buf.split(" ",0);

Calculate calc = new Calculate(Integer.parseInt(tmp[0]),
								Integer.parseInt(tmp[1]));
	calc.show();
    } catch(IOException e) {
      System.err.println(e.getMessage());
    }
}
}

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);
}

}