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

/**
 * http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_4_A
 * 
 * @author chrone
 * 
 */
public class Main {
    
    private final static String SPACE = " ";
    
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                int b = Integer.valueOf(inputs[1]);
                // int c = Integer.valueOf(inputs[2]);
                
                // Zero Divide
                if (b == 0)
                    System.exit(-1);
                
                System.out.print((a - a % b) / b);
                System.out.print(SPACE);
                System.out.print(a % b);
                System.out.print(SPACE);
                double divide = (double)a / (double)b;
                String divideStr = String.format("%.5f", divide);
                System.out.print(divideStr);
                
            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    
    private final static String SPACE = " ";
    
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                int b = Integer.valueOf(inputs[1]);
                // int c = Integer.valueOf(inputs[2]);
                
                // Zero Divide
                if (b == 0)
                    System.exit(-1);
                
                System.out.print((a - a % b) / b);
                System.out.print(SPACE);
                System.out.print(a % b);
                System.out.print(SPACE);
                double divide = (double)a / (double)b;
                String divideStr = String.format("%.5f", divide);
                System.out.print(divideStr);
                
            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    }
} Main private final static String SPACE = " "; SPACE " " public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                int b = Integer.valueOf(inputs[1]);
                // int c = Integer.valueOf(inputs[2]);
                
                // Zero Divide
                if (b == 0)
                    System.exit(-1);
                
                System.out.print((a - a % b) / b);
                System.out.print(SPACE);
                System.out.print(a % b);
                System.out.print(SPACE);
                double divide = (double)a / (double)b;
                String divideStr = String.format("%.5f", divide);
                System.out.print(divideStr);
                
            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    } main {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                int b = Integer.valueOf(inputs[1]);
                // int c = Integer.valueOf(inputs[2]);
                
                // Zero Divide
                if (b == 0)
                    System.exit(-1);
                
                System.out.print((a - a % b) / b);
                System.out.print(SPACE);
                System.out.print(a % b);
                System.out.print(SPACE);
                double divide = (double)a / (double)b;
                String divideStr = String.format("%.5f", divide);
                System.out.print(divideStr);
                
            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    } try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                int b = Integer.valueOf(inputs[1]);
                // int c = Integer.valueOf(inputs[2]);
                
                // Zero Divide
                if (b == 0)
                    System.exit(-1);
                
                System.out.print((a - a % b) / b);
                System.out.print(SPACE);
                System.out.print(a % b);
                System.out.print(SPACE);
                double divide = (double)a / (double)b;
                String divideStr = String.format("%.5f", divide);
                System.out.print(divideStr);
                
            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        } catch (Exception e) {
            System.exit(-1);
        } Exception e {
            System.exit(-1);
        } System.exit(-1) System.exit System -1 1 {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                int b = Integer.valueOf(inputs[1]);
                // int c = Integer.valueOf(inputs[2]);
                
                // Zero Divide
                if (b == 0)
                    System.exit(-1);
                
                System.out.print((a - a % b) / b);
                System.out.print(SPACE);
                System.out.print(a % b);
                System.out.print(SPACE);
                double divide = (double)a / (double)b;
                String divideStr = String.format("%.5f", divide);
                System.out.print(divideStr);
                
            }
            stdReader.close();
        } BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in)); stdReader new BufferedReader(
                    new InputStreamReader(System.in)) String sStr; sStr while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                int b = Integer.valueOf(inputs[1]);
                // int c = Integer.valueOf(inputs[2]);
                
                // Zero Divide
                if (b == 0)
                    System.exit(-1);
                
                System.out.print((a - a % b) / b);
                System.out.print(SPACE);
                System.out.print(a % b);
                System.out.print(SPACE);
                double divide = (double)a / (double)b;
                String divideStr = String.format("%.5f", divide);
                System.out.print(divideStr);
                
            } (sStr = stdReader.readLine()) != null (sStr = stdReader.readLine()) sStr stdReader.readLine() stdReader.readLine stdReader null {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                int b = Integer.valueOf(inputs[1]);
                // int c = Integer.valueOf(inputs[2]);
                
                // Zero Divide
                if (b == 0)
                    System.exit(-1);
                
                System.out.print((a - a % b) / b);
                System.out.print(SPACE);
                System.out.print(a % b);
                System.out.print(SPACE);
                double divide = (double)a / (double)b;
                String divideStr = String.format("%.5f", divide);
                System.out.print(divideStr);
                
            } String[] inputs = sStr.split(" "); inputs sStr.split(" ") sStr.split sStr " " int a = Integer.valueOf(inputs[0]); a Integer.valueOf(inputs[0]) Integer.valueOf Integer inputs[0] inputs 0 int b = Integer.valueOf(inputs[1]); b Integer.valueOf(inputs[1]) Integer.valueOf Integer inputs[1] inputs 1 if (b == 0)
                    System.exit(-1); b == 0 b 0 System.exit(-1) System.exit System -1 1 System.out.print((a - a % b) / b) System.out.print System.out System System.out (a - a % b) / b (a - a % b) a a % b a b b System.out.print(SPACE) System.out.print System.out System System.out SPACE System.out.print(a % b) System.out.print System.out System System.out a % b a b System.out.print(SPACE) System.out.print System.out System System.out SPACE double divide = (double)a / (double)b; divide (double)a / (double)b (double)a (double)b String divideStr = String.format("%.5f", divide); divideStr String.format("%.5f", divide) String.format String "%.5f" divide System.out.print(divideStr) System.out.print System.out System System.out divideStr stdReader.close() stdReader.close stdReader String[] args args public class Main {
    
    private final static String SPACE = " ";
    
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                int b = Integer.valueOf(inputs[1]);
                // int c = Integer.valueOf(inputs[2]);
                
                // Zero Divide
                if (b == 0)
                    System.exit(-1);
                
                System.out.print((a - a % b) / b);
                System.out.print(SPACE);
                System.out.print(a % b);
                System.out.print(SPACE);
                double divide = (double)a / (double)b;
                String divideStr = String.format("%.5f", divide);
                System.out.print(divideStr);
                
            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    }
} public class Main {
    
    private final static String SPACE = " ";
    
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                int b = Integer.valueOf(inputs[1]);
                // int c = Integer.valueOf(inputs[2]);
                
                // Zero Divide
                if (b == 0)
                    System.exit(-1);
                
                System.out.print((a - a % b) / b);
                System.out.print(SPACE);
                System.out.print(a % b);
                System.out.print(SPACE);
                double divide = (double)a / (double)b;
                String divideStr = String.format("%.5f", divide);
                System.out.print(divideStr);
                
            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

/**
 * http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_4_A
 * 
 * @author chrone
 * 
 */
public class Main {
    
    private final static String SPACE = " ";
    
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                int b = Integer.valueOf(inputs[1]);
                // int c = Integer.valueOf(inputs[2]);
                
                // Zero Divide
                if (b == 0)
                    System.exit(-1);
                
                System.out.print((a - a % b) / b);
                System.out.print(SPACE);
                System.out.print(a % b);
                System.out.print(SPACE);
                double divide = (double)a / (double)b;
                String divideStr = String.format("%.5f", divide);
                System.out.print(divideStr);
                
            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    }
}