h, w = map(int, input().split())
s = []
for i in range(h):
    s.append(list(input()))

for i in range(h-2):
    for j in range(w-2):
        if (s[i][j] == "#" and s[i][j+1] == "." and s[i][j+2] == "#" and s[i+1][j] == "." and s[i+1][j+1] == "#" and s[i+1][j+2] == ".") or (s[i][j] == "." and s[i][j+1] == "#" and s[i][j+2] == "." and s[i+1][j] == "#" and s[i+1][j+1] == "." and s[i+1][j+1] == "#"):
            print(i)
            print(j)
            print("No")
            exit()

print("Yes")
