#include using namespace std; int main() { int t,c=0; cin>>t; vector x(t+1,0); for(int i=1;i<=t;i++)cin>>x[i]; for(int i=0;i