public static void solve ( ) {
  int n = scan . nextInt ( ) ;
  scan . nextLine ( ) ;
  while ( n -- > 0 ) {
    String s = scan . nextLine ( ) ;
    if ( s . startsWith ( "miao." ) && ! s . endsWith ( "lala." ) ) {
      System . out . println ( "Rainbow's" ) ;
    }
    else if ( ! s . startsWith ( "miao." ) && s . endsWith ( "lala." ) ) {
      System . out . println ( "Freda's" ) ;
    }
    else {
      System . out . println ( "OMG>.< I don't know!" ) ;
    }
  }
}

public static void solve ( ) { int n = scan . nextInt ( ) ; scan . nextLine ( ) ; while ( n -- > 0 ) { String s = scan . nextLine ( ) ; if ( s . startsWith ( " miao . " ) && ! s . endsWith ( " lala . " ) ) { System . out . println ( " Rainbow ' s " ) ; } else if ( ! s . startsWith ( " miao . " ) && s . endsWith ( " lala . " ) ) { System . out . println ( " Freda ' s " ) ; } else { System . out . println ( " OMG > . < ▁ I ▁ don ' t ▁ know ! " ) ; } } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) (while_statement condition: (parenthesized_expression (binary_expression left: (update_expression (identifier)) right: (decimal_integer_literal))) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal))) right: (unary_expression operand: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal)))))) consequence: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal))))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (unary_expression operand: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal)))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal))))) consequence: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal))))) alternative: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))))))))))