use std::io; fn main(){ let mut buf = String::new(); io::stdin().read_line(&mut buf).expect("failed to read."); let n: usize = buf.trim().parse().unwrap(); let p: usize = 1000000007; let mut v: Vec = vec![1,1,1,1,1,1,1,1,1,1]; for _ in 1..n { for i in 1..10 { v[i] = (v[i] + v[i-1]) % p } } let ans: usize = v.iter().sum(); println!("{}", ans % p); }