



def 		UpperCamelCase	(   snake_case__       :    int	)	->     int:
   UpperCamelCase    :  list[list[int]]							=	[[0 for _ in range(snake_case__	)] for _ in range(m + 1	)]
   for i in range(m + 1	):
      UpperCamelCase    :  Optional[int]							=	1

   for n in range(m + 1	):
      for k in range(1       ,     snake_case__	):
         memo[n][k] += memo[n][k - 1]
         if n - k > 0:
            memo[n][k] += memo[n - k - 1][k]

   return memo[m][m - 1]


if __name__ == "__main__":
    import sys

    if len(sys.argv) == 1:
        try:
            __UpperCAmelCase          =       int(input('''Enter a number: ''').strip())
            print(partition(n))
        except ValueError:
            print('''Please enter a number.''')
    else:
        try:
            __UpperCAmelCase          =       int(sys.argv[1])
            print(partition(n))
        except ValueError:
            print('''Please pass a number.''')








def 		UpperCamelCase	(   snake_case__       :    int       ,     snake_case__       :    int	)	->     int:
   return int(input_a == input_a == 0	)
def 		UpperCamelCase	(   )	->     None:
   print('Truth Table of NOR Gate:'	)
   print('|   Input 1   |  Input 2  | Output |'	)
   print(F"""|      0      |    0      |  {nor_gate(0       ,     0	)}     |"""	)
   print(F"""|      0      |    1      |  {nor_gate(0       ,     1	)}     |"""	)
   print(F"""|      1      |    0      |  {nor_gate(1       ,     0	)}     |"""	)
   print(F"""|      1      |    1      |  {nor_gate(1       ,     1	)}     |"""	)


if __name__ == "__main__":
    import doctest

    doctest.testmod()
    main()



