



from math import factorial

def    lowerCamelCase_(lowerCamelCase_ = 20    ) ->       int:
      UpperCAmelCase         =     2 * n  # middle entry of odd rows starting at row 3 is the solution for n = 1,
      # 2, 3,...
      UpperCAmelCase         =     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:
      __lowerCamelCase     :							int  							=				int(sys.argv[1])
      print(solution(n))
    except ValueError:
      print("Invalid entry - please enter a number.")








from argparse import ArgumentParser

from .env import EnvironmentCommand

def    lowerCamelCase_() ->       Any:
						UpperCAmelCase         =     ArgumentParser("Diffusers CLI tool"    ,   usage="diffusers-cli <command> [<args>]"    )
						UpperCAmelCase         =     parser.add_subparsers(help="diffusers-cli command helpers"    )

						# Register commands
						EnvironmentCommand.register_subcommand(lowerCamelCase_    )

						# Let's go
						UpperCAmelCase         =     parser.parse_args()

						if not hasattr(lowerCamelCase_    ,   "func"    ):
												parser.print_help()
												exit(1    )

						# Run
						UpperCAmelCase         =     args.func(lowerCamelCase_    )
						service.run()


if __name__ == "__main__":
		main()



