#include #include int main(){ unsigned long long n; scanf("%llu",&n); printf("%llu\n",n%1000000007); return 0; }