#include using namespace std; using ll=long long;using vl=vector; using vi=vector;using vs=vector;using vc=vector; using vvl=vector;using pl=pair;using vvc=vector; using vd=vector;using vpl=vector;using vb=vector; #define rep(i,r) for(ll i=0;i<(r);i++) #define Rep(i,l,r) for(ll i=(l);i<(r);i++) #define print(n) cout<<(n)<> void yn(bool b){print(b?"Yes":"No");exit(0);} ll gcd(ll a,ll b) {if(b==0)return a;else return gcd(b,a%b);} ll lcm(ll a,ll b){return a/gcd(a,b)*b;} ll modpow(ll a,ll n,ll mod) {ll res=1;while(n>0) {if(n&1)res=res*a%mod;a=a*a%mod;n >>= 1;}return res;} ll modinv(ll a,ll mod){return modpow(a, mod - 2, mod);} ll p=0,q=0,r=0; ll dx[8]={1,0,-1,0,1,-1,-1,1},dy[8]={0,1,0,-1,1,1,-1,-1}; //ここから本質←ほんまか? int main() { ll n,m,x,y,z;cin>>n>>m>>x>>y>>z; bool bo=true; if(n=x)bo=false; if(n>50||y>50||z>50)bo=false; rep(i,n) { ll a;cin>>a; if(a>50)bo=false; if(y