#include using namespace std; using Int = long long; signed main(){ char c1,c2,c3; cin>>c1>>c2>>c3; if(c1=='?'){ if(c2=='2') cout<<"4"<