public static void main ( String [ ] args ) {
  FastReader reader = new FastReader ( ) ;
  int s = reader . nextInt ( ) ;
  int v1 = reader . nextInt ( ) ;
  int v2 = reader . nextInt ( ) ;
  int t1 = reader . nextInt ( ) ;
  int t2 = reader . nextInt ( ) ;
  int total1 = 0 ;
  int total2 = 0 ;
  total1 = t1 + ( v1 * s ) + t1 ;
  total2 = t2 + ( v2 * s ) + t2 ;
  if ( total1 < total2 ) System . out . println ( "First" ) ;
  else if ( total2 < total1 ) System . out . println ( "Second" ) ;
  else System . out . println ( "Friendship" ) ;
}

public static void main ( String [ ] args ) { FastReader reader = new FastReader ( ) ; int s = reader . nextInt ( ) ; int v1 = reader . nextInt ( ) ; int v2 = reader . nextInt ( ) ; int t1 = reader . nextInt ( ) ; int t2 = reader . nextInt ( ) ; int total1 = 0 ; int total2 = 0 ; total1 = t1 + ( v1 * s ) + t1 ; total2 = t2 + ( v2 * s ) + t2 ; if ( total1 < total2 ) System . out . println ( " First " ) ; else if ( total2 < total1 ) System . out . println ( " Second " ) ; else System . out . println ( " Friendship " ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier))) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (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: (identifier) right: (identifier))) consequence: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))) alternative: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal))))))))