import java.util.Scanner;
public class Main {
    public static void main (String[] args) throws java.lang.Exception {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt(), b = sc.nextInt();
        System.out.printf("%d %d %.9f\n", a / b, a % b, 1.0 * a / b);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main (String[] args) throws java.lang.Exception {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt(), b = sc.nextInt();
        System.out.printf("%d %d %.9f\n", a / b, a % b, 1.0 * a / b);
    }
} Main public static void main (String[] args) throws java.lang.Exception {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt(), b = sc.nextInt();
        System.out.printf("%d %d %.9f\n", a / b, a % b, 1.0 * a / b);
    } main {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt(), b = sc.nextInt();
        System.out.printf("%d %d %.9f\n", a / b, a % b, 1.0 * a / b);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt(); b sc.nextInt() sc.nextInt sc System.out.printf("%d %d %.9f\n", a / b, a % b, 1.0 * a / b) System.out.printf System.out System System.out "%d %d %.9f\n" a / b a b a % b a b 1.0 * a / b 1.0 * a 1.0 a b String[] args args public class Main {
    public static void main (String[] args) throws java.lang.Exception {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt(), b = sc.nextInt();
        System.out.printf("%d %d %.9f\n", a / b, a % b, 1.0 * a / b);
    }
} public class Main {
    public static void main (String[] args) throws java.lang.Exception {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt(), b = sc.nextInt();
        System.out.printf("%d %d %.9f\n", a / b, a % b, 1.0 * a / b);
    }
} Main
import java.util.Scanner;
public class Main {
    public static void main (String[] args) throws java.lang.Exception {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt(), b = sc.nextInt();
        System.out.printf("%d %d %.9f\n", a / b, a % b, 1.0 * a / b);
    }
}
