func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, a, b;     cin >> n >> a >> b;     int ans = a;     if (b < 0) {       int t = abs(b);       while (t--) {         --a;         if (a == 0) a = n;       }     } else {       while (b--) {         ++a;         if (a == n + 1) a = 1;       }     }     cout << a << endl;   }   