func_code_string: #include <bits/stdc++.h>   int a[100010], i, j, k, n, x, y;   int main() {     while (scanf( %d , &n) == 1) {       if (n % 4 != 1 && n % 4 != 0) {         printf( -1 n );         continue;       }       if (n == 1) {         printf( 1 n );         continue;       }       if (n % 4 == 1) {         a[n / 2 + 1] = n / 2 + 1;         x = 1;         y = n;         while (y != x) {           a[x] = x + 1;           a[x + 1] = y;           a[y - 1] = x;           a[y] = y - 1;           x += 2;           y -= 2;         }       } else {         x = 1;         y = n;         while (x - 1 != y) {           a[x] = x + 1;           a[x + 1] = y;           a[y - 1] = x;           a[y] = y - 1;           x += 2;           y -= 2;         }       }       for (i = 1; i <= n - 1; i++) printf( %d  , a[i]);       printf( %d n , a[i]);     }     return 0;   }   