static public void main ( String [ ] args ) {
  String str = "UN was established on 24-10-1945." + "India got freedom on 15-08-1947." ;
  System . out . println ( distinct_year ( str ) ) ;
}

static public void main ( String [ ] args ) { String str = " UN ▁ was ▁ established ▁ on ▁ 24-10-1945 . " + " India ▁ got ▁ freedom ▁ on ▁ 15-08-1947 . " ; System . out . println ( distinct_year ( str ) ) ; }
(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: (binary_expression left: (string_literal) right: (string_literal)))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (method_invocation name: (identifier) arguments: (argument_list (identifier))))))))