#include #include #include #include #include #include #include #include #include #include #include typedef long long int ll; using namespace std; #define FOR(i,a,b) for (int i=(a);i<(b);i++) #define REP(i,n) for (int i=0;i<(n);i++) #define EREP(i,n) for (int i=1;i<=(n);i++) const int MOD = 1000000007; const int INF = 1000000; //#define EVEL 1 #ifdef EVEL #define DEB(X) cout << #X << ":" <>S; if(S=="?"){B=i;} else A[i]=S[0]-'0'; } if(B==0){ if(A[1]A[2])cout<<"4"; else cout<<"1"; } return 0; }