#include using namespace std; int main(){ ios::sync_with_stdio(false); int N; float F; float CASY[100000]; while(cin>>N>>F){ float sucet = 0; float prve = 0; float posledne = 0; for(int i=0;i>posledne; if(i==0) prve=posledne; sucet += posledne; } if(prve < posledne) printf("%.6f %.6f\n", (sucet / (N*F)), (sucet / (N*F))); else printf("%.6f %.6f\n", (posledne / F), (prve / F)); } }