#!/usr/local/bin/ruby
n = gets.to_i
count = 0
for i in 0..9 do
 for j in 0..9 do
  for k in 0..9 do
   for l in 0..9 do
    if i+j+k+l == n
     count += 1
     break
    end
   end
  end
 end
end 
puts count