main(){ float a,b; scanf("%f%f",&a,&b); printf("%.9f\n",powf(41.0/6,a)*powf(49.0/6,b)); return 0; }