func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     int th = 0;     for (int i = 1; i < n; i++) {       th += i;       th %= n;       cout << (th + 1) <<    ;     }     return 0;   }   