


def 							UpperCamelCase_( lowerCamelCase_					)       ->		int:
    _lowercase			:				list[list[int]] 						=						[[0 for _ in range(lowerCamelCase_					)] for _ in range(m + 1					)]
    for i in range(m + 1					):
        _lowercase			:				Dict 						=						1

    for n in range(m + 1					):
        for k in range(1				,					lowerCamelCase_					):
            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:
   SCREAMING_SNAKE_CASE			: Optional[Any]				   =					int(input("Enter a number: ").strip())
   print(partition(n))
  except ValueError:
   print("Please enter a number.")
 else:
  try:
   SCREAMING_SNAKE_CASE			: Union[str, Any]				   =					int(sys.argv[1])
   print(partition(n))
  except ValueError:
   print("Please pass a number.")










"""simple docstring"""







import math
import random


def      UpperCamelCase       ( _A  ,				_A = False )     ->       float:
				if deriv:
								return value * (1 - value)
				return 1 / (1 + math.exp(-value ))


# Initial Value
_lowerCAmelCase            =	0.02


def      UpperCamelCase       ( _A  ,				_A )     ->       float:
				lowercase    :      Any       = float(2 * (random.randint(1  ,				100 )) - 1 )

				for _ in range(_A ):
								# Forward propagation
								lowercase    :      Dict       = sigmoid_function(INITIAL_VALUE * weight )
								# How much did we miss?
								lowercase    :      Any       = (expected / 100) - layer_a
								# Error delta
								lowercase    :      Dict       = layer_1_error * sigmoid_function(_A  ,				_A )
								# Update weight
								weight += INITIAL_VALUE * layer_1_delta

				return layer_a * 100


if __name__ == "__main__":
				import doctest

				doctest.testmod()

				_lowerCAmelCase            =	int(input('Expected value: '))
				_lowerCAmelCase            =	int(input('Number of propagations: '))
				print(forward_propagation(expected, number_propagations))
