





def  _SCREAMING_SNAKE_CASE				(   a  )      ->      int:
					__A	:						list[list[int]]       =				[[0 for _ in range(a  )] for _ in range(m + 1  )]
					for i in range(m + 1  ):
										__A	:						Dict       =				1

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











from __future__ import annotations







def  _SCREAMING_SNAKE_CASE				(   a					,						a					,						a  )      ->      float:
					if days_between_payments <= 0:
										raise ValueError('days_between_payments must be > 0'  )
					if daily_interest_rate < 0:
										raise ValueError('daily_interest_rate must be >= 0'  )
					if principal <= 0:
										raise ValueError('principal must be > 0'  )
					return principal * daily_interest_rate * days_between_payments







def  _SCREAMING_SNAKE_CASE				(   a					,						a					,						a					,						)      ->      float:
					if number_of_compounding_periods <= 0:
										raise ValueError('number_of_compounding_periods must be > 0'  )
					if nominal_annual_interest_rate_percentage < 0:
										raise ValueError('nominal_annual_interest_rate_percentage must be >= 0'  )
					if principal <= 0:
										raise ValueError('principal must be > 0'  )

					return principal * (
					    (1 + nominal_annual_interest_rate_percentage) ** number_of_compounding_periods
					    - 1
					)







def  _SCREAMING_SNAKE_CASE				(   a					,						a					,						a					,						)      ->      float:
					if number_of_years <= 0:
										raise ValueError('number_of_years must be > 0'  )
					if nominal_annual_percentage_rate < 0:
										raise ValueError('nominal_annual_percentage_rate must be >= 0'  )
					if principal <= 0:
										raise ValueError('principal must be > 0'  )

					return compound_interest(
					    a					,						nominal_annual_percentage_rate / 3_65					,						number_of_years * 3_65  )


if __name__ == "__main__":
				import doctest

				doctest.testmod()




