func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, k;     cin >> n >> k;     vector<int> gru;     for (int i = 0; i < n; i++) {       gru.push_back(i + 1);     }     long long lead = 1;     for (int i = 0; i < k; i++) {       long long a;       cin >> a;       lead += a;       lead = lead % gru.size();       if (lead == 0) {         lead = gru.size();       }       cout << gru[lead - 1] <<    ;       gru.erase(gru.begin() + lead - 1);     }   }   