func_code_string: #include <bits/stdc++.h>   using namespace std;   const int maxn = 55;   int n, a[maxn];   long long k;   long long f[maxn];   int main() {     scanf( %d %I64d , &n, &k);     f[0] = f[1] = 1;     for (int i = 2; i <= n; i++) f[i] = f[i - 1] + f[i - 2];     for (int i = 1; i <= n;) {       if (f[n - i] >= k) {         a[i] = i;         i++;       } else {         k -= f[n - i];         a[i] = i + 1;         a[i + 1] = i;         i += 2;       }     }     for (int i = 1; i <= n; i++) printf( %d  , a[i]);   }   