
def 		_UpperCAmelCase			(					_lowerCamelCase  :    Any						)      ->  Optional[Any]:







  if not isinstance(lowercase_					, lowercase_						) or not all(
      isinstance(lowercase_					, lowercase_						) and item >= 0 for item in citations						):
    raise ValueError("""The citations should be a list of non negative integers."""						)

  citations.sort()
  _lowerCAmelCase    :					Optional[Any]							=   len(lowercase_						)

  for i in range(lowercase_						):
    if citations[len_citations - 1 - i] <= i:
      return i

  return len_citations


if __name__ == "__main__":
     import doctest

     doctest.testmod()




'''simple docstring'''

def 		_UpperCAmelCase			(					_lowerCamelCase  :    int = 1_00						)      ->  int:
  _lowerCAmelCase    :					Dict							=   [[0 for _ in range(_lowerCamelCase						)] for _ in range(m + 1						)]
  for i in range(m + 1						):
    _lowerCAmelCase    :					List[str]							=   1

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

  return memo[m][m - 1] - 1


if __name__ == "__main__":
     print(solution(int(input("""Enter a number: """).strip())))


