




from math import factorial



def 					UpperCAmelCase__     (   lowerCamelCase = 20      ):
  lowercase			:Any							=  2 * n  # middle entry of odd rows starting at row 3 is the solution for n = 1,
  # 2, 3,...
  lowercase			:List[str]							=  n // 2

  return int(factorial(lowerCamelCase      ) / (factorial(lowerCamelCase      ) * factorial(n - k      ))      )


if __name__ == "__main__":
     import sys

     if len(sys.argv) == 1:
          print(solution(20))
     else:
          try:
               _UpperCAmelCase		:  Optional[int]	=   int(sys.argv[1])
               print(solution(n))
          except ValueError:
               print("Invalid entry - please enter a number.")









import torch



def 					UpperCAmelCase__     (   ):
  if torch.cuda.is_available():
    lowercase			:Optional[int]							=  torch.cuda.device_count()
  else:
    lowercase			:Dict							=  0
  print(F"Successfully ran on {num_gpus} GPUs"      )


if __name__ == "__main__":
     main()



