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

public class Main {
    public static void main(String[] args) throws Exception {
        int a, b, division, remainder;
        String f;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder createString = new StringBuilder();
        String line = br.readLine();
        String[] numbers = line.split(" ");
        a = Integer.parseInt(numbers[0]);
        b = Integer.parseInt(numbers[1]);
        division = a / b;
        remainder = a % b;
        f = (String.format("%.5f",((double)a / (double)b)));
        
        createString
            .append(division)
            .append(" ")
            .append(remainder)
            .append(" ")
            .append(f)
            .append("\n");
        System.out.print(createString);
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args) throws Exception {
        int a, b, division, remainder;
        String f;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder createString = new StringBuilder();
        String line = br.readLine();
        String[] numbers = line.split(" ");
        a = Integer.parseInt(numbers[0]);
        b = Integer.parseInt(numbers[1]);
        division = a / b;
        remainder = a % b;
        f = (String.format("%.5f",((double)a / (double)b)));
        
        createString
            .append(division)
            .append(" ")
            .append(remainder)
            .append(" ")
            .append(f)
            .append("\n");
        System.out.print(createString);
    }
} Main public static void main(String[] args) throws Exception {
        int a, b, division, remainder;
        String f;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder createString = new StringBuilder();
        String line = br.readLine();
        String[] numbers = line.split(" ");
        a = Integer.parseInt(numbers[0]);
        b = Integer.parseInt(numbers[1]);
        division = a / b;
        remainder = a % b;
        f = (String.format("%.5f",((double)a / (double)b)));
        
        createString
            .append(division)
            .append(" ")
            .append(remainder)
            .append(" ")
            .append(f)
            .append("\n");
        System.out.print(createString);
    } main {
        int a, b, division, remainder;
        String f;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder createString = new StringBuilder();
        String line = br.readLine();
        String[] numbers = line.split(" ");
        a = Integer.parseInt(numbers[0]);
        b = Integer.parseInt(numbers[1]);
        division = a / b;
        remainder = a % b;
        f = (String.format("%.5f",((double)a / (double)b)));
        
        createString
            .append(division)
            .append(" ")
            .append(remainder)
            .append(" ")
            .append(f)
            .append("\n");
        System.out.print(createString);
    } int a a b b division division remainder; remainder String f; f BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringBuilder createString = new StringBuilder(); createString new StringBuilder() String line = br.readLine(); line br.readLine() br.readLine br String[] numbers = line.split(" "); numbers line.split(" ") line.split line " " a = Integer.parseInt(numbers[0]) a Integer.parseInt(numbers[0]) Integer.parseInt Integer numbers[0] numbers 0 b = Integer.parseInt(numbers[1]) b Integer.parseInt(numbers[1]) Integer.parseInt Integer numbers[1] numbers 1 division = a / b division a / b a b remainder = a % b remainder 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 createString
            .append(division)
            .append(" ")
            .append(remainder)
            .append(" ")
            .append(f)
            .append("\n") createString
            .append(division)
            .append(" ")
            .append(remainder)
            .append(" ")
            .append(f)
            .append createString
            .append(division)
            .append(" ")
            .append(remainder)
            .append(" ")
            .append(f) createString
            .append(division)
            .append(" ")
            .append(remainder)
            .append(" ")
            .append createString
            .append(division)
            .append(" ")
            .append(remainder)
            .append(" ") createString
            .append(division)
            .append(" ")
            .append(remainder)
            .append createString
            .append(division)
            .append(" ")
            .append(remainder) createString
            .append(division)
            .append(" ")
            .append createString
            .append(division)
            .append(" ") createString
            .append(division)
            .append createString
            .append(division) createString
            .append createString division " " remainder " " f "\n" System.out.print(createString) System.out.print System.out System System.out createString String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        int a, b, division, remainder;
        String f;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder createString = new StringBuilder();
        String line = br.readLine();
        String[] numbers = line.split(" ");
        a = Integer.parseInt(numbers[0]);
        b = Integer.parseInt(numbers[1]);
        division = a / b;
        remainder = a % b;
        f = (String.format("%.5f",((double)a / (double)b)));
        
        createString
            .append(division)
            .append(" ")
            .append(remainder)
            .append(" ")
            .append(f)
            .append("\n");
        System.out.print(createString);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        int a, b, division, remainder;
        String f;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder createString = new StringBuilder();
        String line = br.readLine();
        String[] numbers = line.split(" ");
        a = Integer.parseInt(numbers[0]);
        b = Integer.parseInt(numbers[1]);
        division = a / b;
        remainder = a % b;
        f = (String.format("%.5f",((double)a / (double)b)));
        
        createString
            .append(division)
            .append(" ")
            .append(remainder)
            .append(" ")
            .append(f)
            .append("\n");
        System.out.print(createString);
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) throws Exception {
        int a, b, division, remainder;
        String f;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder createString = new StringBuilder();
        String line = br.readLine();
        String[] numbers = line.split(" ");
        a = Integer.parseInt(numbers[0]);
        b = Integer.parseInt(numbers[1]);
        division = a / b;
        remainder = a % b;
        f = (String.format("%.5f",((double)a / (double)b)));
        
        createString
            .append(division)
            .append(" ")
            .append(remainder)
            .append(" ")
            .append(f)
            .append("\n");
        System.out.print(createString);
    }
}