#include <bits/stdc++.h>
using namespace std;
int main() {
  for (int i = 0; i < (int)(3); i++) {
    double N, s;
    cin >> N;
    s = 3.1415 * N;
    cout << fixed << setprecision(4);
    cout << s << endl;
  }
}
