import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    int c = 0;
    while ((readStr = reader.readLine()) != null) {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      String sssss = String.format("%.6f", (1.0 * list[0] / list[1]));
      System.out.println((int)(list[0] / list[1]) + " " + (list[0] % list[1]) + " " + sssss);
      break;
    }
  }

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    int c = 0;
    while ((readStr = reader.readLine()) != null) {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      String sssss = String.format("%.6f", (1.0 * list[0] / list[1]));
      System.out.println((int)(list[0] / list[1]) + " " + (list[0] % list[1]) + " " + sssss);
      break;
    }
  }

} Main public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    int c = 0;
    while ((readStr = reader.readLine()) != null) {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      String sssss = String.format("%.6f", (1.0 * list[0] / list[1]));
      System.out.println((int)(list[0] / list[1]) + " " + (list[0] % list[1]) + " " + sssss);
      break;
    }
  } main {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    int c = 0;
    while ((readStr = reader.readLine()) != null) {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      String sssss = String.format("%.6f", (1.0 * list[0] / list[1]));
      System.out.println((int)(list[0] / list[1]) + " " + (list[0] % list[1]) + " " + sssss);
      break;
    }
  } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String readStr; readStr int c = 0; c 0 while ((readStr = reader.readLine()) != null) {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      String sssss = String.format("%.6f", (1.0 * list[0] / list[1]));
      System.out.println((int)(list[0] / list[1]) + " " + (list[0] % list[1]) + " " + sssss);
      break;
    } (readStr = reader.readLine()) != null (readStr = reader.readLine()) readStr reader.readLine() reader.readLine reader null {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      String sssss = String.format("%.6f", (1.0 * list[0] / list[1]));
      System.out.println((int)(list[0] / list[1]) + " " + (list[0] % list[1]) + " " + sssss);
      break;
    } int[] list = new int[3]; list new int[3] 3 list[0] = Integer.parseInt(readStr.split(" ")[0]) list[0] list 0 Integer.parseInt(readStr.split(" ")[0]) Integer.parseInt Integer readStr.split(" ")[0] readStr.split(" ") readStr.split readStr " " 0 list[1] = Integer.parseInt(readStr.split(" ")[1]) list[1] list 1 Integer.parseInt(readStr.split(" ")[1]) Integer.parseInt Integer readStr.split(" ")[1] readStr.split(" ") readStr.split readStr " " 1 String sssss = String.format("%.6f", (1.0 * list[0] / list[1])); sssss String.format("%.6f", (1.0 * list[0] / list[1])) String.format String "%.6f" (1.0 * list[0] / list[1]) 1.0 * list[0] 1.0 list[0] list 0 list[1] list 1 System.out.println((int)(list[0] / list[1]) + " " + (list[0] % list[1]) + " " + sssss) System.out.println System.out System System.out (int)(list[0] / list[1]) + " " + (list[0] % list[1]) + " " + sssss " " (list[0] % list[1]) (int)(list[0] / list[1]) + " " + (list[0] % list[1]) + " " + sssss (int)(list[0] / list[1]) list[0] list 0 list[1] list 1 " " (list[0] % list[1]) list[0] list 0 list[1] list 1 " " sssss break; String[] args args public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    int c = 0;
    while ((readStr = reader.readLine()) != null) {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      String sssss = String.format("%.6f", (1.0 * list[0] / list[1]));
      System.out.println((int)(list[0] / list[1]) + " " + (list[0] % list[1]) + " " + sssss);
      break;
    }
  }

} public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    int c = 0;
    while ((readStr = reader.readLine()) != null) {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      String sssss = String.format("%.6f", (1.0 * list[0] / list[1]));
      System.out.println((int)(list[0] / list[1]) + " " + (list[0] % list[1]) + " " + sssss);
      break;
    }
  }

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    int c = 0;
    while ((readStr = reader.readLine()) != null) {
      int[] list = new int[3];
      list[0] = Integer.parseInt(readStr.split(" ")[0]);
      list[1] = Integer.parseInt(readStr.split(" ")[1]);
      String sssss = String.format("%.6f", (1.0 * list[0] / list[1]));
      System.out.println((int)(list[0] / list[1]) + " " + (list[0] % list[1]) + " " + sssss);
      break;
    }
  }

}