func_code_string: #include <bits/stdc++.h>   using namespace std;   char str[30];   char a[3][30];   int main(void) {     int i, j, k, p1, p2;     scanf( %s , str + 1);     for (p1 = 1; p1 <= 27; p1++) {       for (p2 = p1 + 1; p2 <= 27; p2++)         if (str[p1] == str[p2]) break;       if (p2 <= 27) break;     }     if (p1 + 1 == p2) {       cout <<  Impossible ;       return 0;     }     memset(a, 0, sizeof(a));     if ((p2 - p1 - 1) % 2) {       k = 13 - (p2 - p1 - 1) / 2;       a[1][k] = str[p1];       i = p1 + 1;       for (j = k; j <= 13; j++) {         a[2][j] = str[i];         i = i % 27 + 1;       }       for (j = 13; j >= 1; j--) {         a[1][j] = str[i];         i = i % 27 + 1;       }       for (j = 1; j < k; j++) {         a[2][j] = str[i];         i = i % 27 + 1;       }     } else {       k = 13 - (p2 - p1 - 1) / 2;       a[1][k] = str[p1];       i = p1 + 1;       for (j = k + 1; j <= 13; j++) {         a[2][j] = str[i];         i = i % 27 + 1;       }       for (j = 13; j >= 1; j--) {         a[1][j] = str[i];         i = i % 27 + 1;       }       for (j = 1; j <= k; j++) {         a[2][j] = str[i];         i = i % 27 + 1;       }     }     cout << a[1] + 1 << endl << a[2] + 1;     return 0;   }   