/* Replace the main library with other libraries #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include */ #include using namespace std; typedef long long ll; typedef unsigned long long ull; typedef long double ld; typedef vector vll; typedef vector vc; typedef vector vb; typedef pair pi; typedef vector vi; typedef vector vpi; typedef vector vvi; typedef vector vvb; typedef queue qi; typedef deque di; typedef stack sti; typedef set si; #define FAST cin.tie(nullptr); cout.tie(nullptr); ios::sync_with_stdio(false); #define BFOR(type, i, a, b, param) for (type i = a; (param == 1) ? i >= b : i > b; --i) #define FFOR(type, i, a, b, param) for (type i = a; (param == 1) ? i <= b : i < b; ++i) #define VECFOR(type, i, v) for (type &i : v) #define SORT(v) sort(v.begin(), v.end()) #define REVSORT(v) sort(v.begin(), v.end(), greater()) #define REV(v) reverse(v.begin(), v.end()) #define SZ(v) *(int*)v.size() #define MP make_pair #define PB push_back #define F first #define S second #define INF (int*)1e9 #define EPS 1e-7 #define PI 3.1415926535897932384626433832795 #define MOD 1000000007 ll m, n, t, a, b, c, d, e, f; void dbug() {cerr << '\n';} void reverse(string &a){reverse(a.begin(),a.end());} templatevoid chkmin(T &x,const T &y){if(yvoid chkmax(T &x,const T &y){if(y>x)x=y;} templatevoid sort(vector &a){sort(a.begin(),a.end());} templatevoid reverse(vector &a){reverse(a.begin(),a.end());} templatevoid sort(vector &a,Cmp cmp){sort(a.begin(),a.end(),cmp);} templatevoid unique(vector &a){a.resize(unique(a.begin(),a.end())-a.begin());} templatevoid intcmp(const T* a, const T* b) {return *(T*)a < *(T*)b ? -1 : *(T*)a > *(T*)b ? 1 : 0;} templatevoid gcd(T* a, T* b) {return b == 0 ? *(T*)a : *(T*)a % *(T*)b;} templatevoid lcm(T* a, T* b) {return (*(T*)a / gcd((T*)a, (T*)b)) * *(T*)b;} templatevoid getIndex(const vector &v, const void* K) { auto it = find(v.begin(), v.end(), *(T*)K); return it != v.end() ? it - v.begin() : -1; } void solve() { } int main() { FAST cin >> t; cout << t % MOD << '\n'; return 0; }