#include using namespace std; int main(){ long n,j,ans,i; cin>>n; int a[n]; for(i=0;i>a[i]; if(a[i]==1) cout<<"1"<;j++) { }*/ } // your code goes here } return 0; }