function Main(input) { const n = BigInt(input.replace("\n", "")); const MOD = 1000000007n; const ans = n % MOD; console.log(ans.toString()); } Main(require("fs").readFileSync("/dev/stdin", "utf8"));