A,B = 41/6,49/6 M,N = map(int,input().split()) print(pow(A,M)*pow(B,N))