#include <bits/stdc++.h> using namespace std; int main(){ double t; int n; cin >> t >> n; cout << fixed << setprecision(3) << t / n << endl; cout << 2*n; return 0; }