#include <bits/stdc++.h>   using namespace std;   const int SIZE = int(101);   int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     string s;     cin >> s;     int i = 0;     int a;     string m[5];     while (1) {       i++;       if (s.size() % i == 0) {         a = s.size() / i;       } else {         a = int(s.size() / i) + 1;       }       if (a <= 20) {         break;       }     }     int d;     if (s.size() % a == 0) {       d = s.size() / a;       cout << s.size() / a;     } else {       d = int(s.size() / a) + 1;       cout << int(s.size() / a) + 1;     }     cout <<     << a;     for (int j = 0; j < d; j++) {       if (s.size() % d != 0 && s.size() % d == abs(j - d)) {         i = 0;         int k = 0;         while (j != 0) {           j--;           while (m[i].size() < a - 1) {             m[i] += s[k];             k++;           }           m[i] +=  * ;           i++;         }         while (i < d) {           while (m[i].size() < a) {             m[i] += s[k];             k++;           }           i++;         }         break;       } else {         if (s.size() % d == 0) {           i = 0;           int k = 0;           while (i < d) {             while (m[i].size() < a) {               m[i] += s[k];               k++;             }             i++;           }           break;         }       }     }     cout <<   n ;     for (int j = 0; j < d; j++) {       cout << m[j] <<   n ;     }     return 0;   }   