#include using namespace std; #ifdef LOCAL #include "settings/debug.cpp" #else #define Debug(...) void(0) #endif #define rep(i, n) for (int i = 0; i < (n); ++i) using ll = long long; using ull = unsigned long long; int main() { long double x = (2 + 3 + 5 + 7 + 11 + 13) / 6.0; long double y = (4 + 6 + 8 + 9 + 10 + 12) / 6.0; int a, b; cin >> a >> b; cout << fixed << setprecision(15) << powl(x, a) * powl(y, b) << endl; return 0; }