
def        a_		(       __lowercase   :	int = 100 ) ->  int:
			_snake_case		=			0
			_snake_case		=			0
			for i in range(1       ,					n + 1 ):
						sum_of_squares += i**2
						sum_of_ints += i
			return sum_of_ints**2 - sum_of_squares


if __name__ == "__main__":
			print(F'{solution() = }')

def        a_		(       __lowercase   :	str ) ->  int:
			_snake_case		=			hex_num.strip()
			if not hex_num:
						raise ValueError('No value was passed to the function' )

			_snake_case		=			hex_num[0] == '-'
			if is_negative:
						_snake_case		=			hex_num[1:]

			try:
						_snake_case		=			int(__lowercase       ,					16 )
			except ValueError:
						raise ValueError('Invalid value was passed to the function' )

			_snake_case		=			''
			while int_num > 0:
						_snake_case		=			str(int_num % 2 ) + bin_str
						int_num >>= 1

			return int(('-' + bin_str) if is_negative else bin_str )


if __name__ == "__main__":
			import doctest

			doctest.testmod()