using namespace std; int main(){ int x[10]={0}; int i; for(int i=0;i<10;i++) cin>>x[i]; if(x[i]<=0){ x[i]=1; } cout<<x[i]; return 0; }