import java.util.Scanner;
class Main{
    int a,b;
    public void solve(){
        int d, r;
        double f;
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        d = a / b;
        r = a % b;
        f = 1.0 * a / b;
        System.out.printf("%2d %2d %2.5f",d,r,f);
    }
    public static void main(String[] args){
        new Main().solve();
    }
} import java.util.Scanner; Scanner java.util class Main{
    int a,b;
    public void solve(){
        int d, r;
        double f;
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        d = a / b;
        r = a % b;
        f = 1.0 * a / b;
        System.out.printf("%2d %2d %2.5f",d,r,f);
    }
    public static void main(String[] args){
        new Main().solve();
    }
} Main int a a b; b public void solve(){
        int d, r;
        double f;
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        d = a / b;
        r = a % b;
        f = 1.0 * a / b;
        System.out.printf("%2d %2d %2.5f",d,r,f);
    } solve {
        int d, r;
        double f;
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        d = a / b;
        r = a % b;
        f = 1.0 * a / b;
        System.out.printf("%2d %2d %2.5f",d,r,f);
    } int d d r; r double f; f Scanner sc = new Scanner(System.in); sc new Scanner(System.in) a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc d = a / b d a / b a b r = a % b r a % b a b f = 1.0 * a / b f 1.0 * a / b 1.0 * a 1.0 a b System.out.printf("%2d %2d %2.5f",d,r,f) System.out.printf System.out System System.out "%2d %2d %2.5f" d r f public static void main(String[] args){
        new Main().solve();
    } main {
        new Main().solve();
    } new Main().solve() new Main().solve new Main() String[] args args
import java.util.Scanner;
class Main{
    int a,b;
    public void solve(){
        int d, r;
        double f;
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        d = a / b;
        r = a % b;
        f = 1.0 * a / b;
        System.out.printf("%2d %2d %2.5f",d,r,f);
    }
    public static void main(String[] args){
        new Main().solve();
    }
}