#include <iostream>
using namespace std;
signed main() {
const double p = 1000, g = 9.8;
double s,h;
cin >> s >> h;
double P = p * g * h;
cout << P * s;
}
#include <iostream>
using namespace std;
signed main() {
const double p = 1000, g = 9.8;
double s,h;
cin >> s >> h;
double P = p * g * h;
cout << P * s;
}