#include <iostream> using namespace std; int main() { double t, p; int n, b; cin >> t >> n; p = t / n; b = 2 * n; printf("% .3f\n",p); cout << b; return 0; }