#include <bits/stdc++.h> using namespace std; int main(){ double a,b; int c; cin>>a>>b; c=a/b; cout<<c<<" "<<a-b*c; printf("%.2f",a-b*c); return 0; }