import java.util.Scanner;
class Main {
 public static void main(String args[]) {
    Scanner scan = new Scanner(System.in);

    int a = scan.nextInt();
    int b = scan.nextInt();

    int division = a / b;
    int remainder = a % b;
    double Floatingpoint = (double)a / (double)b;

    String str = String.format("%.16f",Floatingpoint);
    System.out.println(division + " " + remainder + " " + str);
 }
} import java.util.Scanner; Scanner java.util class Main {
 public static void main(String args[]) {
    Scanner scan = new Scanner(System.in);

    int a = scan.nextInt();
    int b = scan.nextInt();

    int division = a / b;
    int remainder = a % b;
    double Floatingpoint = (double)a / (double)b;

    String str = String.format("%.16f",Floatingpoint);
    System.out.println(division + " " + remainder + " " + str);
 }
} Main public static void main(String args[]) {
    Scanner scan = new Scanner(System.in);

    int a = scan.nextInt();
    int b = scan.nextInt();

    int division = a / b;
    int remainder = a % b;
    double Floatingpoint = (double)a / (double)b;

    String str = String.format("%.16f",Floatingpoint);
    System.out.println(division + " " + remainder + " " + str);
 } main {
    Scanner scan = new Scanner(System.in);

    int a = scan.nextInt();
    int b = scan.nextInt();

    int division = a / b;
    int remainder = a % b;
    double Floatingpoint = (double)a / (double)b;

    String str = String.format("%.16f",Floatingpoint);
    System.out.println(division + " " + remainder + " " + str);
 } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int division = a / b; division a / b a b int remainder = a % b; remainder a % b a b double Floatingpoint = (double)a / (double)b; Floatingpoint (double)a / (double)b (double)a (double)b String str = String.format("%.16f",Floatingpoint); str String.format("%.16f",Floatingpoint) String.format String "%.16f" Floatingpoint System.out.println(division + " " + remainder + " " + str) System.out.println System.out System System.out division + " " + remainder + " " + str " " remainder division + " " + remainder + " " + str division " " remainder " " str String args[] args
import java.util.Scanner;
class Main {
 public static void main(String args[]) {
    Scanner scan = new Scanner(System.in);

    int a = scan.nextInt();
    int b = scan.nextInt();

    int division = a / b;
    int remainder = a % b;
    double Floatingpoint = (double)a / (double)b;

    String str = String.format("%.16f",Floatingpoint);
    System.out.println(division + " " + remainder + " " + str);
 }
}