#pragma GCC optimize("Ofast") #pragma GCC target("avx") #include using ll = long long; constexpr ll MOD = 1000000007LL; constexpr ll INV = 831947206LL; int main() { ll N; std::cin >> N; ll ans = INV; for (ll i = 1; i <= 9; i++) { (ans *= (N + i)) %= MOD; } std::cout << ans << std::endl; return 0; }