#include #define M 1000000007 long long in() { long long result = 0; while (1) { int c = getchar_unlocked(); if (c < '0' || c > '9') { break; } result = 10 * result + (c - '0'); } return result; } char buf[20]; void out(long long n) { int i = 0; buf[i++] = '0' + (n % 10); n /= 10; for (; n != 0; i++, n /= 10) { buf[i] = '0' + (n % 10); } while (i != 0) { putchar_unlocked(buf[--i]); } putchar_unlocked('\n'); } int main() { int N = in(); long long result = 1; for(int i = 1; i < 10; i++) { result *= N + i; result %= M; } result *= 831947206; result %= M; out(result); return 0; }