3 3
*..
**.
...
 3 3
*..
*..
***
 10 10
........*.
*.........
........*.
........*.
..........
..........
..........
........*.
.....*..*.
***.......
 3 3
.*.
.*.
.**
 10 1
*
*
*
*
*
*
*
*
*
*
 1 3
...
 3 3
...
.*.
...
 3 5
....*
....*
*****
 3 3
*..
...
..*
 6 5
*.*..
..*..
*****
..*..
..*..
..*..
 3 12
...**.......
.....**.....
........*...
 4 4
..*.
**.*
..*.
..*.
 3 4
....
..*.
....
 2 1
.
*
 2 3
..*
..*
 3 3
..*
*..
...
 4 4
****
****
****
****
 1 2
.*
 4 4
...*
....
....
*...
 1 10
**********
 2 4
....
....
 3 2
.*
*.
*.
 5 5
.....
.....
.....
.....
.....
 3 3
...
...
...
 10 20
....................
.........*..........
....................
....................
....................
....................
....................
....................
...*................
....................
 3 2
*.
.*
.*
 2 3
..*
**.
 3 3
*..
.*.
...
 10 20
....................
.........*..........
....................
....................
....................
....................
....................
....................
...*..............*.
.........*..........
 3 3
***
.*.
.*.
 2 2
*.
.*
 2 2
..
.*
 4 4
....
....
..*.
....
 4 4
*...
*...
....
****
 10 10
...*......
..........
.......*..
.*........
******.*.*
.*........
..........
..........
..........
..........
 3 3
.*.
..*
...
 4 4
*...
....
....
...*
 10 20
....................
.........*..........
....................
....................
....................
....................
....................
....................
...*.....*........*.
.........*..........
 5 5
...*.
...*.
...*.
...*.
***.*
 3 2
..
..
**
 3 3
***
***
***
 6 5
..*..
..*..
*****
..*..
..*..
..*.*
 4 4
....
.*..
..*.
....
 3 3
.*.
*..
...
 10 10
.........*
.........*
.........*
.........*
.........*
.........*
.........*
.........*
.........*
.........*
 10 10
..........
..........
.**....***
..........
..........
..........
..........
..........
..........
..........
 2 4
...*
...*
 5 5
.....
.....
..*..
.....
.....
 6 5
..*..
..*..
**.**
..*..
..*..
..*..
 10 10
.........*
.........*
........**
.........*
.........*
.........*
.........*
.........*
.........*
.........*
 1 1
*
 5 5
*..*.
.....
.....
.....
...*.
 2 3
*.*
...
 10 10
..........
..........
..........
..........
..........
..........
..........
..........
..........
..........
 10 10
..........
..........
....*.....
..........
..........
**..*.****
....*.....
....*.....
....*.....
..........
 3 4
....
....
....
 3 4
****
..*.
..*.
 3 3
*.*
.*.
...
 5 5
.....
..*..
.*.*.
..*..
.....
 3 5
....*
....*
....*
 2 2
**
.*
 5 7
...*...
...*...
...*...
..*.*..
...*...
 5 5
.*...
.....
...*.
...*.
.....
 3 3
*.*
...
*.*
 5 4
....
....
*..*
....
.*..
 6 3
...
...
...
...
**.
.*.
 4 4
....
....
....
....
 3 3
..*
*..
..*
 3 4
...*
...*
...*
 5 5
..*..
..*..
**.**
..*..
..*..
 1 1
.
 3 1
*
*
*
 3 3
...
...
.*.
 10 20
....................
.........*..........
....................
....................
....................
....................
....................
....................
...*..............*.
....................
 4 4
.*..
*...
.*..
.*..
 4 4
.*..
*.**
....
.*..
 4 4
*.*.
..*.
.***
..*.
 5 5
*...*
.....
.....
.....
..*..
 3 3
**.
...
..*
 2 2
..
..
 3 3
..*
..*
**.
 3 3
...
*.*
.*.
 5 3
.*.
.*.
.*.
***
...
 4 2
**
.*
.*
.*
 3 3
.*.
*.*
.*.
 3 3
***
.*.
...
 3 2
*.
.*
*.
 3 2
.*
.*
*.
 2 3
.*.
*.*
 3 3
...
.*.
..*
 6 6
..*...
......
......
......
......
*....*
 10 10
..........
..........
....*.....
..........
..........
..........
....*.....
....*.....
....*.....
..........
 3 3
..*
*..
*..
 2 2
.*
*.
 3 2
.*
*.
.*
 4 4
..*.
....
...*
....
 3 3
...
..*
.*.
 5 5
*****
*****
*****
*****
*****
 3 3
.*.
..*
.*.
 4 4
.***
*...
*...
*...
 10 10
..........
..........
..........
..........
..........
***.*.****
..........
..........
..........
..........
 6 5
..*..
..*..
.*...
..*..
..*..
..*..
 4 4
***.
....
*...
....
 5 4
.*..
*.**
.*..
.*..
.*..
 2 2
**
**
 3 4
.*..
*.**
....
 3 10
.......*..
........*.
.........*
 4 4
....
...*
....
*..*
 4 4
*...
....
....
..**
 3 3
..*
.*.
..*
 3 3
*.*
*..
*.*

YES
2 1
 YES
3 1
 NO
 YES
3 2
 YES
1 1
 YES
1 1
 YES
1 2
 YES
3 5
 YES
1 3
 NO
 NO
 YES
2 3
 YES
1 3
 YES
1 1
 YES
1 3
 YES
1 1
 NO
 YES
1 1
 YES
1 1
 YES
1 1
 YES
1 1
 YES
1 1
 YES
1 1
 YES
1 1
 YES
2 4
 YES
1 2
 YES
2 3
 YES
1 2
 YES
9 10
 YES
1 2
 YES
1 2
 YES
1 2
 YES
1 3
 YES
4 1
 NO
 YES
1 3
 YES
1 4
 YES
9 10
 YES
5 4
 YES
3 1
 NO
 NO
 YES
2 3
 YES
1 1
 YES
1 10
 YES
3 1
 YES
1 4
 YES
1 3
 YES
3 3
 YES
3 10
 YES
1 1
 YES
1 4
 YES
1 1
 YES
1 1
 YES
6 5
 YES
1 1
 YES
1 3
 YES
1 2
 YES
3 3
 YES
1 5
 YES
1 2
 YES
4 4
 YES
1 4
 NO
 YES
3 2
 YES
5 2
 YES
1 1
 YES
2 3
 YES
1 4
 YES
3 3
 YES
1 1
 YES
1 1
 YES
1 2
 YES
9 10
 YES
2 2
 YES
2 2
 NO
 YES
1 3
 YES
1 3
 YES
1 1
 YES
3 3
 YES
2 2
 YES
4 2
 YES
1 2
 YES
2 2
 YES
1 2
 YES
2 1
 YES
3 2
 YES
2 2
 YES
2 3
 YES
6 3
 YES
1 5
 YES
1 1
 YES
1 1
 YES
2 2
 YES
1 4
 YES
2 2
 NO
 YES
2 2
 YES
1 1
 YES
6 1
 YES
3 3
 YES
1 1
 YES
2 2
 NO
 YES
2 2
 NO
 YES
4 4
 YES
4 1
 YES
2 3
 NO


import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.StringTokenizer;
import java.util.ArrayList;
import java.util.List;
import java.util.LinkedList;
import java.math.BigInteger;

public class Main
{
		static boolean row=false;
	    private static void solve() throws IOException 
	    {
	    	int n=readInteger();
	    	int m=readInteger();
	    	char [][] map=new char[n][m];
	    	boolean [][] flags=new boolean[n][m];
	    	int count=0;
	    	int i1=-1;
	    	int j1=-1;
	    	int i2=-1;
	    	int j2=-1;
	    	boolean end=false;
	    	for(int i=0;i<n&&!end;i++){
	    		String line=scan.readLine();
	    		for(int j=0;j<m;j++){
	    			map[i][j]=line.charAt(j);
	    			if(map[i][j]=='*'&&!flags[i][j]){
	    				count++;
	    				if(count==3){
	    					wr.println("NO");
	    					end=true;
	    					break;
	    					
	    				}
	    				else{
	    					flags=checkWalls(map, flags, j, i, '*',n,m);
//	    					for(int a=0;a<n;a++){
//	    						for(int b=0;b<m;b++){
//	    							if(flags[a][b])
//	    								System.out.print("2");
//	    							else
//	    								System.out.print("1");
//	    						}
//	    						System.out.println();
//	    					}
	    					System.out.println();
	    					if(row){
	    						i1=i;
	    						j1=j;
	    					}
	    					else{
	    						i2=i;
	    						j2=j;
	    					}
	    				}
	    			}
	    		}
	    	}
	    	if(!end){
	    		
	    	wr.println("YES");
	    	if(j1!=-1&&j2==-1){
	    		wr.println((i1+1)+" "+(j1+1));
	    	}
	    	else{
	    		if(j2!=-1&&j1==-1)
	    			wr.println((i2+1)+" "+(j2+1));
	    		else
	    			wr.println((i1+1)+" "+(j2+1));
	    	}
	    	}

	    }	  
	    public static boolean[][] checkWalls(char[][]board,boolean [][]flags,int c,int r,char e1,int n,int m){
	     	//<-------
	    	for(int i=r-1;i>=0;i--){
	    		if(board[i][c]==e1){
	    			row=true;
	    		}
	    		flags[i][c]=true;
	    	}
	    	//------->
	    	for(int i=r+1;i<n;i++){
	    		flags[i][c]=true;
	    		if(board[i][c]==e1){
	    			row=true;
	    		}
	    	}
	    	//^^^^^ 
	    	for(int j=c-1;j>=0;j--)
	    			flags[r][j]=true;
	    	//vvvvvvv 
	    	for(int j=c+1;j<m;j++)
	    			flags[r][j]=true;
	    	return flags;
	    }
	    public static void main(String[] args) 
	    {
	        run();
	    }
	    
	    static BufferedReader scan;
	    static StringTokenizer tokenizer;
	    static PrintWriter wr;
	    public static int readInteger() throws  IOException
	    {
	    	return Integer.parseInt(read());
	    }
	    public static long readLong()throws IOException
	    {
	    	return Long.parseLong(read());
	    }
	    public static double readDouble()throws IOException
	    {
	    	return Double.parseDouble(read());
	    }
	    public static String read() throws IOException
	    {
	    	String res="";
	    	if(tokenizer.hasMoreTokens())
	    	{
	    		res=tokenizer.nextToken();
	    	}
	    	else
	    	{
	    		String aux=scan.readLine();
//	    		if(aux.isEmpty())
//	    		{
//	    			wr.close();
//	    			System.exit(0);
//	    		}
	    		tokenizer=new StringTokenizer(aux," ");
	    		
	    		res=tokenizer.nextToken();
	    	}
	    	return res;
	    }
	    
	    public static void run() 
	    {
	        try 
	        {
	            scan= new BufferedReader(new InputStreamReader(System.in));
	            tokenizer = new StringTokenizer("","");
	            wr = new PrintWriter(System.out);
	            
	            solve();
	            
	            scan.close();
	            wr.close();
	        } catch (Exception e) {
	        	e.printStackTrace();
	        	wr.close();
			System.exit(0);
	        }
	    }
	}