import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan =new Scanner(System.in);

int a=scan.nextInt();
int b=scan.nextInt();
int c,d;
double e;
c=a/b;
d=a%b;
e=(double)a/(double)b;
System.out.print(c+" "+d+" ");
System.out.printf("%f\n",e);
}
} import java.util.Scanner; Scanner java.util class Main{
public static void main(String[] args){
Scanner scan =new Scanner(System.in);

int a=scan.nextInt();
int b=scan.nextInt();
int c,d;
double e;
c=a/b;
d=a%b;
e=(double)a/(double)b;
System.out.print(c+" "+d+" ");
System.out.printf("%f\n",e);
}
} Main public static void main(String[] args){
Scanner scan =new Scanner(System.in);

int a=scan.nextInt();
int b=scan.nextInt();
int c,d;
double e;
c=a/b;
d=a%b;
e=(double)a/(double)b;
System.out.print(c+" "+d+" ");
System.out.printf("%f\n",e);
} main {
Scanner scan =new Scanner(System.in);

int a=scan.nextInt();
int b=scan.nextInt();
int c,d;
double e;
c=a/b;
d=a%b;
e=(double)a/(double)b;
System.out.print(c+" "+d+" ");
System.out.printf("%f\n",e);
} Scanner scan =new Scanner(System.in); scan new Scanner(System.in) int a=scan.nextInt(); a scan.nextInt() scan.nextInt scan int b=scan.nextInt(); b scan.nextInt() scan.nextInt scan int c c d; d double e; e c=a/b c a/b a b d=a%b d a%b a b e=(double)a/(double)b e (double)a/(double)b (double)a (double)b System.out.print(c+" "+d+" ") System.out.print System.out System System.out c+" "+d+" " d c+" "+d+" " c " " d " " System.out.printf("%f\n",e) System.out.printf System.out System System.out "%f\n" e String[] args args
import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan =new Scanner(System.in);

int a=scan.nextInt();
int b=scan.nextInt();
int c,d;
double e;
c=a/b;
d=a%b;
e=(double)a/(double)b;
System.out.print(c+" "+d+" ");
System.out.printf("%f\n",e);
}
}