#include using namespace std; #define rep(i, n, o) for(int i = 0;i < (n);i++) #define ou(x) cout << x << endl #define ll long long #define re return 0 int main(){ ll n, b = 1000000007; cin >> n; ou(fmod(n,b)); re; }