import java.io.*; import java.util.*; class Main { public static void main(String args[])throws Exception { BufferedReader bu=new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb=new StringBuilder(); String s[]=bu.readLine().split(" "); int n=Integer.parseInt(s[0]),a=Integer.parseInt(s[1]),b=Integer.parseInt(s[2]),x=Integer.parseInt(s[3]),y=Integer.parseInt(s[4]); int i; long h[]=new long[n]; s=bu.readLine().split(" "); for(i=0;i0) {ans=false; break;} } if(ans) sb.append("Yes\n"); else sb.append("No\n"); System.out.print(sb); } }