


def   _UpperCAmelCase       (     UpperCAmelCase      :			int      ):
      """simple docstring"""




      __lowerCamelCase     :      list[list[int]]       						=						[[0 for _ in range(UpperCAmelCase      )] for _ in range(m + 1      )]
      for i in range(m + 1      ):
            __lowerCamelCase     :      str       						=						1

      for n in range(m + 1      ):
            for k in range(1						,	UpperCAmelCase      ):
                  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    :						List[str]     =							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 typing import Any





def   _UpperCAmelCase       (     UpperCAmelCase      :			list      ):
      """simple docstring"""




      if not input_list:
            return []
      __lowerCamelCase     :      int       						=						[input_list.count(UpperCAmelCase      ) for value in input_list]
      __lowerCamelCase     :      Tuple       						=						max(UpperCAmelCase      )  # Gets the maximum count in the input list.
      # Gets values of modes
      return sorted({input_list[i] for i, value in enumerate(UpperCAmelCase      ) if value == y}      )


if __name__ == "__main__":
    import doctest

    doctest.testmod()



