


def 							UpperCAmelCase_   (				__snake_case = 10**6		)	->     int:







 """simple docstring"""


 if n <= 0:
  raise ValueError('''Please enter an integer greater than 0'''		)

 _lowercase				 =list(range(n + 1		)		)
 for number in range(2	,		n + 1		):
  if phi[number] == number:
   phi[number] -= 1
   for multiple in range(number * 2	,		n + 1	,		lowercase_		):
    _lowercase				 =(phi[multiple] // number) * (number - 1)

 _lowercase				 =1
 for number in range(1	,		n + 1		):
  if (answer / phi[answer]) < (number / phi[number]):
   _lowercase				 =number

 return answer


if __name__ == "__main__":
  print(solution())




def   UpperCamelCase(   lowercase_				)      ->							float:





  '''simple docstring'''





  return -num if num < 0 else num



def   UpperCamelCase(   lowercase_				)      ->							int:





  '''simple docstring'''





  if len(lowercase_				) == 0:
    raise ValueError("""abs_min() arg is an empty sequence"""				)
  snake_case_					= x[0]
  for i in x:
    if abs_val(lowercase_				) < abs_val(lowercase_				):
      snake_case_					= i
  return j



def   UpperCamelCase(   lowercase_				)      ->							int:





  '''simple docstring'''





  if len(lowercase_				) == 0:
    raise ValueError("""abs_max() arg is an empty sequence"""				)
  snake_case_					= x[0]
  for i in x:
    if abs(lowercase_				) > abs(lowercase_				):
      snake_case_					= i
  return j



def   UpperCamelCase(   lowercase_				)      ->							int:





  '''simple docstring'''





  if len(lowercase_				) == 0:
    raise ValueError("""abs_max_sort() arg is an empty sequence"""				)
  return sorted(lowercase_     ,   key=lowercase_				)[-1]



def   UpperCamelCase(   )      ->							List[Any]:





  '''simple docstring'''





  assert abs_val(0				) == 0
  assert abs_val(34				) == 34
  assert abs_val(-100000000000				) == 100000000000

  snake_case_					= [-3, -1, 2, -11]
  assert abs_max(lowercase_				) == -11
  assert abs_max_sort(lowercase_				) == -11
  assert abs_min(lowercase_				) == -1


if __name__ == "__main__":
    import doctest

    doctest.testmod()

    test_abs_val()
    print(abs_val(-34))  # --> 34