#include <bits/stdc++.h>   using namespace std;   int main() {     ios_base::sync_with_stdio(false);     int n;     cin >> n;     vector<int> answer;     if (n == 1000000) {       cout <<  1 n1000000 n ;     } else {       while (n) {         int p = n;         string w;         while (p) {           if (p % 10 == 0) {             w.insert(w.begin(),  0 );           } else {             w.insert(w.begin(),  1 );           }           p = p / 10;         }         int x = atoi(&w[0]);         answer.push_back(x);         n = n - x;       }       cout << answer.size() <<   n ;       for (int i = 0; i < answer.size(); i++) {         cout << answer[i] <<    ;       }       cout <<   n ;     }   }   