i = gets.to_i
items = [0,1,2,3,4,5,6,7,8,9,10,11]
puts (items[0...i].repeated_combination(i).map do |s|
  min = s.min
  hash = {}
  b = 0
  s.map{|a|
  unless hash[a]
    hash[a] = b
    b += 1
  end
  hash[a]
}
end).uniq.length
