a;main(b){a=scanf("%d%d",&a,&b)>printf("%.9lf",pow(41/6.,a)*pow(49/6.,b));}