/*
 * WheresArup.java
 *
 * Created on July 20, 2004, 1:36 PM
 */
import java.util.*;
import java.lang.*;
import java.io.*;

/*
 *  Arup
 *
 *  o<-<
 *
 */

/**
 *
 * @author  jgauci
 */
public class where {
    
    /** Creates a new instance of WheresArup */
    public where() throws Exception {

        BufferedReader myReader = new BufferedReader(new FileReader("where.in"));
        
        int numCases = Integer.parseInt(myReader.readLine());
        while((numCases--)>0)
        {
            int numRows = Integer.parseInt(myReader.readLine());
            char[][] map = new char[numRows][80];
            for(int a=0;a<numRows;a++)
            {
                map[a] = myReader.readLine().toCharArray();
            }
            
            boolean foundArup=false;
            for(int row=0;row<numRows&&!foundArup;row++)
            {
                for(int col=0;col<(80-3);col++)
                {
                    if(map[row][col]=='o'
                     &&map[row][col+1]=='<'
                     &&map[row][col+2]=='-'
                     &&map[row][col+3]=='<')
                    {
                        foundArup=true;
                    }
                }
            }
            
            
            if(foundArup)
                System.out.println("ARUP, ARUP, ARUP IS ON FIRE!");
            else
                System.out.println("WE DON'T NEED NO WATER, LET THE MOTHER OTTER LEARN.");
            
        }
    }
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws Exception {
        // TODO code application logic here
        new where();
    }
    
}
