#include <bits/stdc++.h>
using namespace std;
int main() {
  double r;
  scanf("%lf", &r);
  double ans = (2 * 2 * acos(0.0)) * r;
  cout << 2 * acos(0.0) << " ";
  printf("%.6f\n", ans);
  return 0;
}
