#include <stdio.h> #include <iostream> main() { int a,b; scanf("%d %d",&a,&b); printf("%d %d %lf\n",a/b,a%b,(double)a/b); }