#include <iostream>
using namespace std;
int main()
{
int A , B;
cin >> A >> B;
float div1=A/B;
int div2 =A/B;
double sub = div1-div2;
int Floor=div2;
int Ceil = div2+1;
int round ;
if (sub>=0.5){
round = div2+1;
}
else if(sub<0.5){
round=div2;
}
cout <<sub<<endl;
cout << "floor"<< A<< "/"<< B << " = " << Floor << "\n";
cout << "ceil"<< A << "/" <<B << " = " << Ceil<< "\n";
cout << "round"<< A <<"/" <<B << " = " << round << "\n";
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkKewppbnQgQSAsIEI7CmNpbiA+PiBBID4+IEI7CiBmbG9hdCBkaXYxPUEvQjsKIGludCBkaXYyID1BL0I7CmRvdWJsZSBzdWIgPSBkaXYxLWRpdjI7CiBpbnQgRmxvb3I9ZGl2MjsKIGludCBDZWlsID0gZGl2MisxOwogaW50IHJvdW5kIDsKIGlmIChzdWI+PTAuNSl7CiAgICByb3VuZCA9IGRpdjIrMTsKIH0KIGVsc2UgaWYoc3ViPDAuNSl7CiAgICByb3VuZD1kaXYyOwogfQogY291dCA8PHN1Yjw8ZW5kbDsKIGNvdXQgPDwgImZsb29yIjw8IEE8PCAiLyI8PCBCIDw8ICIgPSAiIDw8IEZsb29yIDw8ICJcbiI7CiBjb3V0IDw8ICJjZWlsIjw8IEEgPDwgIi8iIDw8QiA8PCAiID0gIiAgPDwgIENlaWw8PCAiXG4iOwogY291dCA8PCAicm91bmQiPDwgQSA8PCIvIiA8PEIgPDwgIiA9ICIgPDwgcm91bmQgPDwgIlxuIjsKCgogICAgcmV0dXJuIDA7CiAgIH0KCgoKCgoKCgo=