#include #include #include #include using namespace std; int T, x; bool flag = true; vector v; int main(){ cin >> T; for(int i=0; i> x; v.push_back(x); } if(T <= 1){ if(v[0] == 0 || (v[0] != -1 && v[0] != 1)) flag = false; } for(int i=1; i