func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     char ch1, ch2, ch;     int i, j, k, tc, res, total, temp, mx, num, num1, num2;     int n, a, b;     {       scanf( %d %d %d , &n, &a, &b);       if (b == 0)         printf( %d n , a);       else if (b > 0) {         while (b--) {           if (a == n)             a = 1;           else             a++;         }         printf( %d n , a);       } else {         b = (-1 * b);         while (b--) {           if (a == 1)             a = n;           else             a--;         }         printf( %d n , a);       }     }     return 0;   }   