#include #include #include #include #include #include #include #include #include #include #include #include #include #define FOR(i,a,b) for (ll i=(a);i<(ll)(b);++i) #define REP(i,n) FOR(i,0,n) #define ALL(v) (v).begin(),(v).end() #define SUM(v) accumulate(ALL(v),0ll) using ll = long long; const int INF=20000; using namespace std; ll func(ll n) { if(n==0)return 1; return n*func(n-1); } int main() { string s; cin>>s; vector ans; if(s[0]-'0'<=0) { cout<<0<