f=[[[[0]*71 for c in range(13)] for b in range(21)] for a in range(21)]
for j in range(1,13):
f[1][1][j][0] = 1
for a in range(1,20):
for b in range(1,a+1):
for c in range(1,13):
for d in range(71):
if f[a][b][c][d]>0:
for x in range(c,13):
s=d if a < 10 else d+x
if s <= 70:
j=b+1 if x==c else 1
f[a+1][j][x][s]+=f[a][b][c][d]*(a+1)/j
print sum(f[20][j][k][70] for j in range(1,21) for k in range(1,13))