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

public class Main {
    public static void main (String[] args) throws IOException {
        int a,b;
        int d,r;
        String f;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder builder = new StringBuilder();
        String data = reader.readLine();
        String[] number = data.split(" ");
        a = Integer.parseInt(number[0]);
        b = Integer.parseInt(number[1]);
        d = a / b;
        r = a % b;
        f = (String.format("%.5f",((double)a /(double)b)));
        
        builder
           .append(d)
           .append(" ")
           .append(r)
           .append(" ")
           .append(f)
           .append("\n");
        System.out.print(builder);
        }        
} 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 {
        int a,b;
        int d,r;
        String f;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder builder = new StringBuilder();
        String data = reader.readLine();
        String[] number = data.split(" ");
        a = Integer.parseInt(number[0]);
        b = Integer.parseInt(number[1]);
        d = a / b;
        r = a % b;
        f = (String.format("%.5f",((double)a /(double)b)));
        
        builder
           .append(d)
           .append(" ")
           .append(r)
           .append(" ")
           .append(f)
           .append("\n");
        System.out.print(builder);
        }        
} Main public static void main (String[] args) throws IOException {
        int a,b;
        int d,r;
        String f;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder builder = new StringBuilder();
        String data = reader.readLine();
        String[] number = data.split(" ");
        a = Integer.parseInt(number[0]);
        b = Integer.parseInt(number[1]);
        d = a / b;
        r = a % b;
        f = (String.format("%.5f",((double)a /(double)b)));
        
        builder
           .append(d)
           .append(" ")
           .append(r)
           .append(" ")
           .append(f)
           .append("\n");
        System.out.print(builder);
        } main {
        int a,b;
        int d,r;
        String f;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder builder = new StringBuilder();
        String data = reader.readLine();
        String[] number = data.split(" ");
        a = Integer.parseInt(number[0]);
        b = Integer.parseInt(number[1]);
        d = a / b;
        r = a % b;
        f = (String.format("%.5f",((double)a /(double)b)));
        
        builder
           .append(d)
           .append(" ")
           .append(r)
           .append(" ")
           .append(f)
           .append("\n");
        System.out.print(builder);
        } int a a b; b int d d r; r String f; f BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) StringBuilder builder = new StringBuilder(); builder new StringBuilder() String data = reader.readLine(); data reader.readLine() reader.readLine reader String[] number = data.split(" "); number data.split(" ") data.split data " " a = Integer.parseInt(number[0]) a Integer.parseInt(number[0]) Integer.parseInt Integer number[0] number 0 b = Integer.parseInt(number[1]) b Integer.parseInt(number[1]) Integer.parseInt Integer number[1] number 1 d = a / b d a / b a b r = a % b r a % b a b f = (String.format("%.5f",((double)a /(double)b))) f (String.format("%.5f",((double)a /(double)b))) String.format String "%.5f" ((double)a /(double)b) (double)a (double)b builder
           .append(d)
           .append(" ")
           .append(r)
           .append(" ")
           .append(f)
           .append("\n") builder
           .append(d)
           .append(" ")
           .append(r)
           .append(" ")
           .append(f)
           .append builder
           .append(d)
           .append(" ")
           .append(r)
           .append(" ")
           .append(f) builder
           .append(d)
           .append(" ")
           .append(r)
           .append(" ")
           .append builder
           .append(d)
           .append(" ")
           .append(r)
           .append(" ") builder
           .append(d)
           .append(" ")
           .append(r)
           .append builder
           .append(d)
           .append(" ")
           .append(r) builder
           .append(d)
           .append(" ")
           .append builder
           .append(d)
           .append(" ") builder
           .append(d)
           .append builder
           .append(d) builder
           .append builder d " " r " " f "\n" System.out.print(builder) System.out.print System.out System System.out builder String[] args args public class Main {
    public static void main (String[] args) throws IOException {
        int a,b;
        int d,r;
        String f;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder builder = new StringBuilder();
        String data = reader.readLine();
        String[] number = data.split(" ");
        a = Integer.parseInt(number[0]);
        b = Integer.parseInt(number[1]);
        d = a / b;
        r = a % b;
        f = (String.format("%.5f",((double)a /(double)b)));
        
        builder
           .append(d)
           .append(" ")
           .append(r)
           .append(" ")
           .append(f)
           .append("\n");
        System.out.print(builder);
        }        
} public class Main {
    public static void main (String[] args) throws IOException {
        int a,b;
        int d,r;
        String f;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder builder = new StringBuilder();
        String data = reader.readLine();
        String[] number = data.split(" ");
        a = Integer.parseInt(number[0]);
        b = Integer.parseInt(number[1]);
        d = a / b;
        r = a % b;
        f = (String.format("%.5f",((double)a /(double)b)));
        
        builder
           .append(d)
           .append(" ")
           .append(r)
           .append(" ")
           .append(f)
           .append("\n");
        System.out.print(builder);
        }        
} Main

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

public class Main {
    public static void main (String[] args) throws IOException {
        int a,b;
        int d,r;
        String f;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder builder = new StringBuilder();
        String data = reader.readLine();
        String[] number = data.split(" ");
        a = Integer.parseInt(number[0]);
        b = Integer.parseInt(number[1]);
        d = a / b;
        r = a % b;
        f = (String.format("%.5f",((double)a /(double)b)));
        
        builder
           .append(d)
           .append(" ")
           .append(r)
           .append(" ")
           .append(f)
           .append("\n");
        System.out.print(builder);
        }        
}