#include using namespace std; int main() { int P, C; cin >> P >> C; cout << fixed << setprecision(10) << pow(41.0 / 6, P) * pow(49.0 / 6, C) << endl; }