x = 0
a 
for n in range(1,13):
  for a in range(0,3):
    for b in range(1,10):
      if n == a + b:
        x = x + 1
      else:
        x = x
print(x+1)