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