import java.util.Scanner;
class Main{
  public static void main(String[] args){
  Scanner scanner = new Scanner(System.in);
  int a = scanner.nextInt();
  int b = scanner.nextInt();
  int d = a / b ;
  int r = a % b ;
  double f = (double)a / (double)b ;
  System.out.println(d);
  System.out.println(r);
  System.out.println(String.format("%.8f\n", f));
    }
  } import java.util.Scanner; Scanner java.util class Main{
  public static void main(String[] args){
  Scanner scanner = new Scanner(System.in);
  int a = scanner.nextInt();
  int b = scanner.nextInt();
  int d = a / b ;
  int r = a % b ;
  double f = (double)a / (double)b ;
  System.out.println(d);
  System.out.println(r);
  System.out.println(String.format("%.8f\n", f));
    }
  } Main public static void main(String[] args){
  Scanner scanner = new Scanner(System.in);
  int a = scanner.nextInt();
  int b = scanner.nextInt();
  int d = a / b ;
  int r = a % b ;
  double f = (double)a / (double)b ;
  System.out.println(d);
  System.out.println(r);
  System.out.println(String.format("%.8f\n", f));
    } main {
  Scanner scanner = new Scanner(System.in);
  int a = scanner.nextInt();
  int b = scanner.nextInt();
  int d = a / b ;
  int r = a % b ;
  double f = (double)a / (double)b ;
  System.out.println(d);
  System.out.println(r);
  System.out.println(String.format("%.8f\n", f));
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner int d = a / b ; d a / b a b int r = a % b ; r a % b a b double f = (double)a / (double)b ; f (double)a / (double)b (double)a (double)b System.out.println(d) System.out.println System.out System System.out d System.out.println(r) System.out.println System.out System System.out r System.out.println(String.format("%.8f\n", f)) System.out.println System.out System System.out String.format("%.8f\n", f) String.format String "%.8f\n" f String[] args args
import java.util.Scanner;
class Main{
  public static void main(String[] args){
  Scanner scanner = new Scanner(System.in);
  int a = scanner.nextInt();
  int b = scanner.nextInt();
  int d = a / b ;
  int r = a % b ;
  double f = (double)a / (double)b ;
  System.out.println(d);
  System.out.println(r);
  System.out.println(String.format("%.8f\n", f));
    }
  }