#include #include main(){ int a = 41; int b = 49; int P,C; scanf("%d%d",&P,&C); printf("%.9lf",pow(a,P)*pow(b,C)/pow(6,P+C)); }