import java.util.ArrayDeque; import java.util.Arrays; import java.util.Scanner; class Main { public static void main(String[] args) throws Exception { new Main().run(); } void solve(int H,int W,char[][] m) { for(int dh=0;dh=H||nw>=W) { flag=false; continue; } if(rec[nh][nw]==2) { flag=false; continue; } flag&=m[nh][nw]=='#'; rec[h][w]=1; rec[nh][nw]=2; } } if(flag) { System.out.println("YES"); System.exit(0); } } } } void run() { Scanner sc=new Scanner(System.in); int H=sc.nextInt(); int W=sc.nextInt(); char[][] m=new char[H][W]; boolean all=true; for(int i=0;i