ior = io.read local n = ior("*n") local t = {} for i = 1, 9 do t[i] = 1 end local ret = 10 for i = 2, n do for j = 1, 9 do local sum = 0 for k = j, 9 do sum = (sum + t[k]) % 1000000007 end t[j] = sum ret = (ret + sum) % 1000000007 end end print(ret)