#include<bits/stdc++.h>
using namespace std;
int main(){
int a;
float b;
cin>>b>>a;
printf("%.3f\n",b/a);
cout<<a*2;
return 0;
}
//Theo