#include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; const ll modc = 1000000007; int main(){ ll n; cin >> n; cout << n % modc << endl; return 0; }