#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int N; cin >> N; vector dp(N + 5, 0); dp[0] = 1; for (int i = 0; i < N; i++) { dp[i + 1] += dp[i]; dp[i + 2] += dp[i]; } cout << dp[N] << '\n'; return 0; }