#include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define REP(i,n) for(int i=0; i=b; --i) #define ALL(c) (c).begin(), (c).end() typedef long long ll; typedef vector VI; typedef vector VL; typedef vector VVL; typedef vector VVI; typedef pair P; typedef pair PL; int main() { int p, c; cin >> p >> c; double ans = 0; int a[] = {2,3,5,7,11,13}; int b[] = {4,6,8,9,10,12}; printf("%.15f\n", pow(41.0/6.0 ,p) * pow(49.0/6.0, c)); return 0; }