public static void main ( String args [ ] ) {
  long f [ ] = new long [ 300 ] ;
  Arrays . fill ( f , 0 ) ;
  precomput ( f ) ;
  int n = 1 ;
  System . out . println ( findLastDigit ( f , n ) ) ;
  n = 61 ;
  System . out . println ( findLastDigit ( f , n ) ) ;
  n = 7 ;
  System . out . println ( findLastDigit ( f , n ) ) ;
  n = 67 ;
  System . out . println ( findLastDigit ( f , n ) ) ;
}

public static void main ( String args [ ] ) { long f [ ] = new long [ 300 ] ; Arrays . fill ( f , 0 ) ; precomput ( f ) ; int n = 1 ; System . out . println ( findLastDigit ( f , n ) ) ; n = 61 ; System . out . println ( findLastDigit ( f , n ) ) ; n = 7 ; System . out . println ( findLastDigit ( f , n ) ) ; n = 67 ; System . out . println ( findLastDigit ( f , n ) ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier) dimensions: (dimensions))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) dimensions: (dimensions) value: (array_creation_expression type: (integral_type) dimensions: (dimensions_expr (decimal_integer_literal))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier) (decimal_integer_literal)))) (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_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) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_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) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_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) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_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) (identifier))))))))