#include #include #include #include #include #include #define pb push_back #define all(x) begin(x),end(x) #define ll long long #define P pair #define lP pait using namespace std; int main() { bool f=0; int cnt=0; string n; cin>>n; if(n[0]!='1') f=1; for(int i=1;i