static void CountGCD ( int m , int k ) {
  if ( m % k != 0 ) {
    System . out . print ( 0 + "\n" ) ;
    return ;
  }
  if ( m == k ) {
    System . out . print ( 2 + "\n" ) ;
    return ;
  }
  int limit = m / k ;
  int ans = EulerTotientFunction ( limit ) ;
  System . out . print ( ans + "\n" ) ;
}

static void CountGCD ( int m , int k ) { if ( m % k != 0 ) { System . out . print ( 0 + " \n " ) ; return ; } if ( m == k ) { System . out . print ( 2 + " \n " ) ; return ; } int limit = m / k ; int ans = EulerTotientFunction ( limit ) ; System . out . print ( ans + " \n " ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier))) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (decimal_integer_literal))) consequence: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (decimal_integer_literal) right: (string_literal))))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (decimal_integer_literal) right: (string_literal))))) (return_statement))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (identifier)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list (identifier))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (string_literal)))))))