import java.io.*;
import java.util.*;
 
class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader re =
         new BufferedReader(new InputStreamReader(System.in));       
        String line = re.readLine();       
         
        int cnt=0;
 
        String st[] = line.split(" ",0);
        int a = Integer.parseInt(st[0]);
        int b = Integer.parseInt(st[1]);
       
        
        int d= a / b;
        int r = a % b;
        double f=(double)a/(double)b;
          System.out.print(d +" "+ r +" ");
          System.out.printf("%.5f\n",f);
        re.close();
    }
} import java.io.*; io.* java import java.util.*; util.* java class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader re =
         new BufferedReader(new InputStreamReader(System.in));       
        String line = re.readLine();       
         
        int cnt=0;
 
        String st[] = line.split(" ",0);
        int a = Integer.parseInt(st[0]);
        int b = Integer.parseInt(st[1]);
       
        
        int d= a / b;
        int r = a % b;
        double f=(double)a/(double)b;
          System.out.print(d +" "+ r +" ");
          System.out.printf("%.5f\n",f);
        re.close();
    }
} Main public static void main(String[] args) throws IOException{
        BufferedReader re =
         new BufferedReader(new InputStreamReader(System.in));       
        String line = re.readLine();       
         
        int cnt=0;
 
        String st[] = line.split(" ",0);
        int a = Integer.parseInt(st[0]);
        int b = Integer.parseInt(st[1]);
       
        
        int d= a / b;
        int r = a % b;
        double f=(double)a/(double)b;
          System.out.print(d +" "+ r +" ");
          System.out.printf("%.5f\n",f);
        re.close();
    } main {
        BufferedReader re =
         new BufferedReader(new InputStreamReader(System.in));       
        String line = re.readLine();       
         
        int cnt=0;
 
        String st[] = line.split(" ",0);
        int a = Integer.parseInt(st[0]);
        int b = Integer.parseInt(st[1]);
       
        
        int d= a / b;
        int r = a % b;
        double f=(double)a/(double)b;
          System.out.print(d +" "+ r +" ");
          System.out.printf("%.5f\n",f);
        re.close();
    } BufferedReader re =
         new BufferedReader(new InputStreamReader(System.in)); re new BufferedReader(new InputStreamReader(System.in)) String line = re.readLine(); line re.readLine() re.readLine re int cnt=0; cnt 0 String st[] = line.split(" ",0); st line.split(" ",0) line.split line " " 0 int a = Integer.parseInt(st[0]); a Integer.parseInt(st[0]) Integer.parseInt Integer st[0] st 0 int b = Integer.parseInt(st[1]); b Integer.parseInt(st[1]) Integer.parseInt Integer st[1] st 1 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.print(d +" "+ r +" ") System.out.print System.out System System.out d +" "+ r +" " r d +" "+ r +" " d " " r " " System.out.printf("%.5f\n",f) System.out.printf System.out System System.out "%.5f\n" f re.close() re.close re String[] args args
import java.io.*;
import java.util.*;
 
class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader re =
         new BufferedReader(new InputStreamReader(System.in));       
        String line = re.readLine();       
         
        int cnt=0;
 
        String st[] = line.split(" ",0);
        int a = Integer.parseInt(st[0]);
        int b = Integer.parseInt(st[1]);
       
        
        int d= a / b;
        int r = a % b;
        double f=(double)a/(double)b;
          System.out.print(d +" "+ r +" ");
          System.out.printf("%.5f\n",f);
        re.close();
    }
}