func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     int a[n];     int count = 1;     a[0] = 0;     a[1] = 2;     for (int i = 2; i < n; i++) {       count++;       a[i] = a[i - 1] + count;       if (a[i] > n) {         int rem = a[i] - n;         a[i] = a[0] + rem;       }     }     for (int i = 1; i < n; i++) cout << a[i] <<    ;     return 0;   }   