import java.util.Arrays; import java.util.Scanner; public class Main86 { public static void main(String[] args) { Main86 p = new Main86(); } char[][] map; public Main86() { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); map = new char[n][]; for(int i=0;i10) break; map[i][j] = 'a'; for(int k=0;k<4;k++){ int nx = j+dx[k]; int ny = i+dy[k]; if(0<=nx && nx10 || res) break; } System.out.println(res ? "YES" : "NO"); } private boolean isOk() { boolean ok = true; for(int i=0;i