import java.util.Scanner;

public class Main {

  public static void main(String[] args) {
    Scanner stdin = new Scanner(System.in);
    int a = stdin.nextInt();
    int b = stdin.nextInt();
    System.out.printf("%d %d %f", a / b, a % b, (double) a / b);
  }

} import java.util.Scanner; Scanner java.util public class Main {

  public static void main(String[] args) {
    Scanner stdin = new Scanner(System.in);
    int a = stdin.nextInt();
    int b = stdin.nextInt();
    System.out.printf("%d %d %f", a / b, a % b, (double) a / b);
  }

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

  public static void main(String[] args) {
    Scanner stdin = new Scanner(System.in);
    int a = stdin.nextInt();
    int b = stdin.nextInt();
    System.out.printf("%d %d %f", a / b, a % b, (double) a / b);
  }

} public class Main {

  public static void main(String[] args) {
    Scanner stdin = new Scanner(System.in);
    int a = stdin.nextInt();
    int b = stdin.nextInt();
    System.out.printf("%d %d %f", a / b, a % b, (double) a / b);
  }

} Main
import java.util.Scanner;

public class Main {

  public static void main(String[] args) {
    Scanner stdin = new Scanner(System.in);
    int a = stdin.nextInt();
    int b = stdin.nextInt();
    System.out.printf("%d %d %f", a / b, a % b, (double) a / b);
  }

}