#include <bits/stdc++.h>

using namespace std;

int main() {
    double a, b, c;
    cin >> a >> b >> c;
    
    double tbc = (a + b + c) / 3;
    double tbn = cbrt(a * b * c);
    
    cout << fixed << setprecision(2) << tbc << endl;
    cout << fixed << setprecision(2) << tbn;
    
    return 0;
}