



def snake_case__  (			__SCREAMING_SNAKE_CASE )		->							Tuple:
  if not nums:  # Makes sure that the list is not empty
    raise ValueError("List is empty" )

  UpperCAmelCase_						=				sum(_lowerCamelCase ) / len(_lowerCamelCase )  # Calculate the average
  return sum(abs(x - average ) for x in nums ) / len(_lowerCamelCase )


if __name__ == "__main__":
   import doctest

   doctest.testmod()






def snake_case__  (			__SCREAMING_SNAKE_CASE			,     __SCREAMING_SNAKE_CASE )		->							Union[str, Any]:
		UpperCAmelCase_						=				0
		while b > 0:
				if b & 1:
						res += a

				a += a
				b >>= 1

		return res







def snake_case__  (			__SCREAMING_SNAKE_CASE			,     __SCREAMING_SNAKE_CASE			,     __SCREAMING_SNAKE_CASE )		->							Tuple:
		UpperCAmelCase_						=				0
		while b > 0:
				if b & 1:
						UpperCAmelCase_						=				((res % c) + (a % c)) % c

				a += a
				b >>= 1

		return res

