#include #include using namespace std; int main(){ int p, c; cin >> p >> c; printf("%.10f\n", pow(41.0 / 6, p) * pow(49.0 / 6, c)); return 0; }