#include int remain(int a){ return a%1000000007; } int main(void) { int n,x; scanf("%d",&n); x = remain(n); printf("%d\n",x); return 0; }