code: 
  
  
  
  
  
  import numpy as np
  
  def     a						(      _lowercase   :     List[Any] ,						_lowercase   :     str       )     ->int:
  		UpperCamelCase__         =	np.array(_lowercase       )
  		UpperCamelCase__         =	np.array(_lowercase       )
  
  		UpperCamelCase__         =	abs(predict - actual       )
  		UpperCamelCase__         =	difference.mean()
  
  		return score
  
  def     a						(      _lowercase   :     List[Any] ,						_lowercase   :     str       )     ->int:
  		UpperCamelCase__         =	np.array(_lowercase       )
  		UpperCamelCase__         =	np.array(_lowercase       )
  
  		UpperCamelCase__         =	predict - actual
  		UpperCamelCase__         =	np.square(_lowercase       )
  
  		UpperCamelCase__         =	square_diff.mean()
  		return score
  
  def     a						(      _lowercase   :     Any ,						_lowercase   :     str       )     ->Optional[Any]:
  		UpperCamelCase__         =	np.array(_lowercase       )
  		UpperCamelCase__         =	np.array(_lowercase       )
  
  		UpperCamelCase__         =	predict - actual
  		UpperCamelCase__         =	np.square(_lowercase       )
  		UpperCamelCase__         =	square_diff.mean()
  		UpperCamelCase__         =	np.sqrt(_lowercase       )
  		return score
  
  def     a						(      _lowercase   :     Union[str, Any] ,						_lowercase   :     Any       )     ->int:
  		UpperCamelCase__         =	np.array(_lowercase       )
  		UpperCamelCase__         =	np.array(_lowercase       )
  
  		UpperCamelCase__         =	np.log(predict + 1       )
  		UpperCamelCase__         =	np.log(actual + 1       )
  
  		UpperCamelCase__         =	log_predict - log_actual
  		UpperCamelCase__         =	np.square(_lowercase       )
  		UpperCamelCase__         =	square_diff.mean()
  
  		UpperCamelCase__         =	np.sqrt(_lowercase       )
  
  		return score
  
  def     a						(      _lowercase   :     Optional[Any] ,						_lowercase   :     Dict       )     ->Optional[Any]:
  		UpperCamelCase__         =	np.array(_lowercase       )
  		UpperCamelCase__         =	np.array(_lowercase       )
  
  		UpperCamelCase__         =	predict - actual
  		UpperCamelCase__         =	np.sum(_lowercase       ) / len(_lowercase       )
  		UpperCamelCase__         =	np.sum(_lowercase       ) / len(_lowercase       )
  		# print(numerator, denumerator)
  		UpperCamelCase__         =	float(_lowercase       ) / denumerator * 1_0_0
  
  		return score
  
  def     a						(      _lowercase   :     Tuple ,						_lowercase   :     Dict       )     ->Dict:
  		return np.mean(np.array(_lowercase       ) == np.array(_lowercase       )       )
  
  
  
  
  
  
style_context: 
  
  
  
  
  
  def     a						(      _lowercase   :     int ,						_lowercase   :     int       )     ->int:
  		UpperCamelCase__         =	1.0
  		for i in range(1 ,						r + 1       ):
  				ret *= (n + 1 - i) / i
  		return round(_lowercase       )
  
  def     a						(      _lowercase   :     int       )     ->int:
  		return choose(8 + n ,						_lowercase       ) + choose(9 + n ,						_lowercase       ) - 1_0
  
  def     a						(      _lowercase   :     int       )     ->int:
  		return sum(non_bouncy_exact(_lowercase       ) for i in range(1 ,						n + 1       )       )
  
  def     a						(      _lowercase   :     int = 1_0_0       )     ->int:
  		return non_bouncy_upto(_lowercase       )
  
  
  if __name__ == "__main__":
  				print(f"""{solution() = }""")
  
  
  
  
  
  