




def 				_a       (				lowerCAmelCase   )->  float:
		return -num if num < 0 else num


def 				_a       (				lowerCAmelCase   )->  int:
		if len(lowerCAmelCase   ) == 0:
				raise ValueError('abs_min() arg is an empty sequence'   )
		SCREAMING_SNAKE_CASE_							=       x[0]
		for i in x:
				if abs_val(lowerCAmelCase   ) < abs_val(lowerCAmelCase   ):
						SCREAMING_SNAKE_CASE_							=       i
		return j


def 				_a       (				lowerCAmelCase   )->  int:
		if len(lowerCAmelCase   ) == 0:
				raise ValueError('abs_max() arg is an empty sequence'   )
		SCREAMING_SNAKE_CASE_							=       x[0]
		for i in x:
				if abs(lowerCAmelCase   ) > abs(lowerCAmelCase   ):
						SCREAMING_SNAKE_CASE_							=       i
		return j


def 				_a       (				lowerCAmelCase   )->  int:
		if len(lowerCAmelCase   ) == 0:
				raise ValueError('abs_max_sort() arg is an empty sequence'   )
		return sorted(lowerCAmelCase						,	key=lowerCAmelCase   )[-1]


def 				_a       (				)->  int:
		assert abs_val(0   ) == 0
		assert abs_val(34   ) == 34
		assert abs_val(-100000000000   ) == 100000000000

		SCREAMING_SNAKE_CASE_							=       [-3, -1, 2, -11]
		assert abs_max(lowerCAmelCase   ) == -11
		assert abs_max_sort(lowerCAmelCase   ) == -11
		assert abs_min(lowerCAmelCase   ) == -1


if __name__ == "__main__":
						import doctest

						doctest.testmod()

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





from __future__ import annotations

import sys


def 				_a       (				lowerCAmelCase   )->  int:
		if n < 0:
				raise ValueError('Negative arguments are not supported'   )
		return _fib(lowerCAmelCase   )[0]


def 				_a       (				lowerCAmelCase   )->  tuple[int, int]:
		if n == 0:  # (F(0), F(1))
				return (0, 1)

		# F(2n) = F(n)[2F(n+1) − F(n)]
		# F(2n+1) = F(n+1)^2+F(n)^2
		SCREAMING_SNAKE_CASE_			,							SCREAMING_SNAKE_CASE_							=       _fib(n // 2   )
		SCREAMING_SNAKE_CASE_							=       a * (b * 2 - a)
		SCREAMING_SNAKE_CASE_							=       a * a + b * b
		return (d, c + d) if n % 2 else (c, d)


if __name__ == "__main__":
						SCREAMING_SNAKE_CASE:    Optional[int]											=   int(sys.argv[1])
						print(f"""fibonacci({n}) is {fibonacci(n)}""")