public static void main ( String [ ] args ) {
  node head = null ;
  head = add ( '(' ) ;
  head . next = add ( 'G' ) ;
  head . next . next = add ( 'E' ) ;
  head . next . next . next = add ( 'E' ) ;
  head . next . next . next . next = add ( '*' ) ;
  head . next . next . next . next . next = add ( 'K' ) ;
  head . next . next . next . next . next . next = add ( 'S' ) ;
  head . next . next . next . next . next . next . next = add ( '*' ) ;
  head = removeFromLL ( head ) ;
  print ( head ) ;
}

public static void main ( String [ ] args ) { node head = null ; head = add ( ' ( ' ) ; head . next = add ( ' G ' ) ; head . next . next = add ( ' E ' ) ; head . next . next . next = add ( ' E ' ) ; head . next . next . next . next = add ( ' * ' ) ; head . next . next . next . next . next = add ( ' K ' ) ; head . next . next . next . next . next . next = add ( ' S ' ) ; head . next . next . next . next . next . next . next = add ( ' * ' ) ; head = removeFromLL ( head ) ; print ( head ) ; }
(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: (null_literal))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation name: (identifier) arguments: (argument_list (character_literal))))) (expression_statement (assignment_expression left: (field_access object: (identifier) field: (identifier)) right: (method_invocation name: (identifier) arguments: (argument_list (character_literal))))) (expression_statement (assignment_expression left: (field_access object: (field_access object: (identifier) field: (identifier)) field: (identifier)) right: (method_invocation name: (identifier) arguments: (argument_list (character_literal))))) (expression_statement (assignment_expression left: (field_access object: (field_access object: (field_access object: (identifier) field: (identifier)) field: (identifier)) field: (identifier)) right: (method_invocation name: (identifier) arguments: (argument_list (character_literal))))) (expression_statement (assignment_expression left: (field_access object: (field_access object: (field_access object: (field_access object: (identifier) field: (identifier)) field: (identifier)) field: (identifier)) field: (identifier)) right: (method_invocation name: (identifier) arguments: (argument_list (character_literal))))) (expression_statement (assignment_expression left: (field_access object: (field_access object: (field_access object: (field_access object: (field_access object: (identifier) field: (identifier)) field: (identifier)) field: (identifier)) field: (identifier)) field: (identifier)) right: (method_invocation name: (identifier) arguments: (argument_list (character_literal))))) (expression_statement (assignment_expression left: (field_access object: (field_access object: (field_access object: (field_access object: (field_access object: (field_access object: (identifier) field: (identifier)) field: (identifier)) field: (identifier)) field: (identifier)) field: (identifier)) field: (identifier)) right: (method_invocation name: (identifier) arguments: (argument_list (character_literal))))) (expression_statement (assignment_expression left: (field_access object: (field_access object: (field_access object: (field_access object: (field_access object: (field_access object: (field_access object: (identifier) field: (identifier)) field: (identifier)) field: (identifier)) field: (identifier)) field: (identifier)) field: (identifier)) field: (identifier)) right: (method_invocation name: (identifier) arguments: (argument_list (character_literal))))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation name: (identifier) arguments: (argument_list (identifier))))) (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier))))))