func_code_string: #include <bits/stdc++.h>   using namespace std;   bool condition(int year) {     int year_arr[4];     int boo;     for (int i = 3; i >= 0; i--) {       year_arr[i] = year % 10;       year = year / 10;     }     if (year_arr[0] == year_arr[1] || year_arr[0] == year_arr[2] ||         year_arr[0] == year_arr[3] || year_arr[1] == year_arr[2] ||         year_arr[1] == year_arr[3] || year_arr[2] == year_arr[3]) {       boo = false;     } else {       boo = true;     }     return boo;   }   int main() {     int prev_y, next_y;     cin >> prev_y;     next_y = prev_y + 1;     while (condition(next_y) == false) {       next_y += 1;     }     cout << next_y;   }   