text: /** 
  Regardless of our limitations, we can always be of some use. Our power may seem insignificant… but it may just prove to be useful in the grand scheme of things. Stay focused. Never avert your eyes, because if an opening arises, even our insignificant power may be enough to determine the fate of the world.        
  */
  #include <bits/stdc++.h>
  #define forn(i, l, r) for(int i=l;i<=r;i++)
  #define all(v) v.begin(),v.end()
  #define pb push_back
  #define nd second
  #define st first
  #define debug(x) cout<<#x<<" -> "<<x<< endl
  #define kakimasu(x) cout << x << '\n'
  #define sseuda(x) cout << x
  
  using namespace std;
  typedef long long ll;
  typedef long double ld;
  typedef vector<int> vi;
  typedef vector<bool> vb;
  typedef vector<string> vs;
  typedef vector<double> vd;
  typedef vector<long long> vll;
  typedef vector<vector<int> > vvi;
  typedef vector<vll> vvll;
  typedef vector<pair<int, int> > vpi;
  typedef vector<vpi> vvpi;
  typedef pair<int, int> pi;
  typedef pair<ll, ll> pll;
  typedef vector<pll> vpll;
  
  const int INF = 1 << 30;
  /**
  Start coding from here
  */
  #define PI acos(-1.0) // important constant; alternative #define PI (2.0 * acos(0.0))
  
  
  int main() {
  	ios_base::sync_with_stdio(false); cin.tie(0);
  	double r;
  	int m, c;
  	while(true) {
  		cin >> r >> m >> c;
  		if (!r && !m && !c) break;
  		cout << setprecision(10) << PI * r * r << ' ' << 1.0 * c / m * pow(2 * r, 2) << '\n';
  
  	}
  	
  	return 0;
  }
  