func_code_string: #include <bits/stdc++.h>   using namespace std;   using pii = pair<int, int>;   const int MOD = 1e9 + 7;   int n;   int main() {     ios_base::sync_with_stdio(false), cin.tie(0), cout << fixed;     cin >> n;     int dp[] = {1, 0};     for (int i = 1; i < n; i++) dp[i % 2] = (dp[i % 2] + dp[1 - i % 2] + 1) % MOD;     cout << (dp[0] + dp[1]) % MOD << endl;     return 0;   }   