#include using namespace std; void solve(){ string s; cin >> s; bool now = true; int cnt = 0; if(s[0] == '-') now = false; else if(s[0] == '?'){ s[0] = '9'; } for(int i=0; i> t; while(t--){ solve(); } }