#include #include #include using namespace std; #define prime_cube (2+3+5+7+11+13)/6. #define composite_cube (4+6+8+9+10+12)/6. int main() { int p, c; double ans; cin >> p >> c; ans = pow(prime_cube, p) * pow(composite_cube, c); cout << fixed << setprecision(11) << ans << endl; return 0; }