
"""simple docstring"""






import importlib.metadata
import subprocess
import sys
def    UpperCamelCase						(					UpperCAmelCase = False     )						->Any:

   """simple docstring"""



   a_						   =     False
   if "IPython" in sys.modules:
      a_						   =     """google.colab""" in str(sys.modules["IPython"].get_ipython()     )

   if in_colab:
      if upgrade:
         a_						   =     ["""pip""", """install""", """-U""", """torch"""]
         subprocess.run(__UpperCAmelCase ,   check=__UpperCAmelCase     )
      # get the current version of torch
      a_						   =     importlib.metadata.version("torch"     )
      a_						   =     torch_version[: torch_version.rindex("."     )]
      a_						   =     F'''https://storage.googleapis.com/tpu-pytorch/wheels/colab/torch_xla-{torch_version_trunc}-cp37-cp37m-linux_x86_64.whl'''
      a_						   =     ["""pip""", """install""", xla_wheel]
      subprocess.run(__UpperCAmelCase ,   check=__UpperCAmelCase     )
   else:
      raise RuntimeError("`install_xla` utility works only on google colab."     )




"""simple docstring"""







from math import factorial


def  __SCREAMING_SNAKE_CASE (  __UpperCAmelCase   ,				__UpperCAmelCase      ):
		return factorial(__UpperCAmelCase      ) / (factorial(__UpperCAmelCase      ) * factorial(n - r      ))


def  __SCREAMING_SNAKE_CASE (  ):
		_lowercase				: Optional[Any]     =   0

		for i in range(1   ,				101      ):
				for j in range(1   ,				i + 1      ):
						if combinations(__UpperCAmelCase   ,				__UpperCAmelCase      ) > 1E6:
								total += 1
		return total


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



