#define ALL(v) v.begin(),v.end() #define ALL(v) v.begin(),v.end() typedef long long ll; #include using namespace std; const int MOD=1e9+7; int main() { ios::sync_with_stdio(false); std::cin.tie(nullptr); ll n; cin>>n; cout<