#include using namespace std; using ll = long long; bool chmin(auto &a, auto b) { return a > b ? a = b, true : false; } bool chmax(auto &a, auto b) { return a < b ? a = b, true : false; } int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int n; cin >> n; string s; cin >> s; vector dp(n, vector(3)); if(s[0] == '-') dp[0][0] = 1; else if(s[0] == '0') dp[0][1] = 1; else dp[0][2] = 1; for(int i=1; i