import java.util.Scanner;


public class Main {

    
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int Ans1, Ans2;
        double Ans3;
        String str[];
        str = new String[2];
        int num[];
        num = new int[2];
        for(int i=0; i<=1; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        Ans1 = num[0]/num[1];
        Ans2 = num[0]%num[1];
        
        Ans3 = (double)num[0]/(double)num[1];
        String Ans3after = String.format("%.5f", Ans3);
        System.out.println(Ans1+" "+Ans2+" "+Ans3after);
    }
    
} import java.util.Scanner; Scanner java.util public class Main {

    
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int Ans1, Ans2;
        double Ans3;
        String str[];
        str = new String[2];
        int num[];
        num = new int[2];
        for(int i=0; i<=1; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        Ans1 = num[0]/num[1];
        Ans2 = num[0]%num[1];
        
        Ans3 = (double)num[0]/(double)num[1];
        String Ans3after = String.format("%.5f", Ans3);
        System.out.println(Ans1+" "+Ans2+" "+Ans3after);
    }
    
} Main public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int Ans1, Ans2;
        double Ans3;
        String str[];
        str = new String[2];
        int num[];
        num = new int[2];
        for(int i=0; i<=1; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        Ans1 = num[0]/num[1];
        Ans2 = num[0]%num[1];
        
        Ans3 = (double)num[0]/(double)num[1];
        String Ans3after = String.format("%.5f", Ans3);
        System.out.println(Ans1+" "+Ans2+" "+Ans3after);
    } main {
        Scanner in = new Scanner(System.in);
        int Ans1, Ans2;
        double Ans3;
        String str[];
        str = new String[2];
        int num[];
        num = new int[2];
        for(int i=0; i<=1; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        Ans1 = num[0]/num[1];
        Ans2 = num[0]%num[1];
        
        Ans3 = (double)num[0]/(double)num[1];
        String Ans3after = String.format("%.5f", Ans3);
        System.out.println(Ans1+" "+Ans2+" "+Ans3after);
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) int Ans1 Ans1 Ans2; Ans2 double Ans3; Ans3 String str[]; str str = new String[2] str new String[2] 2 int num[]; num num = new int[2] num new int[2] 2 for(int i=0; i<=1; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            } int i=0; int i=0; i 0 i<=1 i 1 i++ i++ i {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            } {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            } str[i] = in.next() str[i] str i in.next() in.next in num[i] = Integer.parseInt(str[i]) num[i] num i Integer.parseInt(str[i]) Integer.parseInt Integer str[i] str i Ans1 = num[0]/num[1] Ans1 num[0]/num[1] num[0] num 0 num[1] num 1 Ans2 = num[0]%num[1] Ans2 num[0]%num[1] num[0] num 0 num[1] num 1 Ans3 = (double)num[0]/(double)num[1] Ans3 (double)num[0]/(double)num[1] (double)num[0] num 0 (double)num[1] num 1 String Ans3after = String.format("%.5f", Ans3); Ans3after String.format("%.5f", Ans3) String.format String "%.5f" Ans3 System.out.println(Ans1+" "+Ans2+" "+Ans3after) System.out.println System.out System System.out Ans1+" "+Ans2+" "+Ans3after " " Ans2 Ans1+" "+Ans2+" "+Ans3after Ans1 " " Ans2 " " Ans3after String[] args args public class Main {

    
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int Ans1, Ans2;
        double Ans3;
        String str[];
        str = new String[2];
        int num[];
        num = new int[2];
        for(int i=0; i<=1; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        Ans1 = num[0]/num[1];
        Ans2 = num[0]%num[1];
        
        Ans3 = (double)num[0]/(double)num[1];
        String Ans3after = String.format("%.5f", Ans3);
        System.out.println(Ans1+" "+Ans2+" "+Ans3after);
    }
    
} public class Main {

    
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int Ans1, Ans2;
        double Ans3;
        String str[];
        str = new String[2];
        int num[];
        num = new int[2];
        for(int i=0; i<=1; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        Ans1 = num[0]/num[1];
        Ans2 = num[0]%num[1];
        
        Ans3 = (double)num[0]/(double)num[1];
        String Ans3after = String.format("%.5f", Ans3);
        System.out.println(Ans1+" "+Ans2+" "+Ans3after);
    }
    
} Main
import java.util.Scanner;


public class Main {

    
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int Ans1, Ans2;
        double Ans3;
        String str[];
        str = new String[2];
        int num[];
        num = new int[2];
        for(int i=0; i<=1; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        Ans1 = num[0]/num[1];
        Ans2 = num[0]%num[1];
        
        Ans3 = (double)num[0]/(double)num[1];
        String Ans3after = String.format("%.5f", Ans3);
        System.out.println(Ans1+" "+Ans2+" "+Ans3after);
    }
    
}