#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 #ifndef EVEL #define DEB(X) cout << #X << ":" <>S; if(S=="?"){A[i]=-1;B=i;} else A[i]=S[i]-'0'; } if(B==0){ if(A[1]>A[2])cout<<"4"; else cout<<"1"; } if(B==1){ cout<<"14"; } if(B==2){ if(A[1]>A[2])cout<<"4"; else cout<<"1"; } return 0; }