import java.util.Scanner;
 
public class Main {
 
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] str = sc.nextLine().split(" ");
        int inta = Integer.parseInt(str[0]);
        int intb = Integer.parseInt(str[1]);
 
        System.out.printf("%d %d %f", inta/intb, inta%intb, (double)inta/intb);
 
    }
 
} import java.util.Scanner; Scanner java.util public class Main {
 
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] str = sc.nextLine().split(" ");
        int inta = Integer.parseInt(str[0]);
        int intb = Integer.parseInt(str[1]);
 
        System.out.printf("%d %d %f", inta/intb, inta%intb, (double)inta/intb);
 
    }
 
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] str = sc.nextLine().split(" ");
        int inta = Integer.parseInt(str[0]);
        int intb = Integer.parseInt(str[1]);
 
        System.out.printf("%d %d %f", inta/intb, inta%intb, (double)inta/intb);
 
    } main {
        Scanner sc = new Scanner(System.in);
        String[] str = sc.nextLine().split(" ");
        int inta = Integer.parseInt(str[0]);
        int intb = Integer.parseInt(str[1]);
 
        System.out.printf("%d %d %f", inta/intb, inta%intb, (double)inta/intb);
 
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String[] str = sc.nextLine().split(" "); str sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " int inta = Integer.parseInt(str[0]); inta Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 int intb = Integer.parseInt(str[1]); intb Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 System.out.printf("%d %d %f", inta/intb, inta%intb, (double)inta/intb) System.out.printf System.out System System.out "%d %d %f" inta/intb inta intb inta%intb inta intb (double)inta/intb (double)inta intb String[] args args public class Main {
 
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] str = sc.nextLine().split(" ");
        int inta = Integer.parseInt(str[0]);
        int intb = Integer.parseInt(str[1]);
 
        System.out.printf("%d %d %f", inta/intb, inta%intb, (double)inta/intb);
 
    }
 
} public class Main {
 
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] str = sc.nextLine().split(" ");
        int inta = Integer.parseInt(str[0]);
        int intb = Integer.parseInt(str[1]);
 
        System.out.printf("%d %d %f", inta/intb, inta%intb, (double)inta/intb);
 
    }
 
} Main
import java.util.Scanner;
 
public class Main {
 
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] str = sc.nextLine().split(" ");
        int inta = Integer.parseInt(str[0]);
        int intb = Integer.parseInt(str[1]);
 
        System.out.printf("%d %d %f", inta/intb, inta%intb, (double)inta/intb);
 
    }
 
}