





"""simple docstring"""
def 					A__				(			UpperCamelCase       ):
							assert isinstance(UpperCamelCase					,  UpperCamelCase       ), F"The input value of [n={number}] is not an integer"

							if number == 1:
														return 2
							elif number < 1:
														A		=  F"The input value of [n={number}] has to be > 0"
														raise ValueError(UpperCamelCase       )
							else:
														A		=  sylvester(number - 1       )
														A		=  num - 1
														A		=  num
														return lower * upper + 1


if __name__ == "__main__":
		print(F"""The 8th number in Sylvester's sequence: {sylvester(8)}""")









"""simple docstring"""
def 					A__				(			UpperCamelCase					,  UpperCamelCase = False       ):

							if not isinstance(UpperCamelCase					,  UpperCamelCase       ):
														A		=  F"Expected string as input, found {type(UpperCamelCase       )}"
														raise ValueError(UpperCamelCase       )
							if not isinstance(UpperCamelCase					,  UpperCamelCase       ):
														A		=  F"Expected boolean as use_pascal parameter, found {type(UpperCamelCase       )}"
														raise ValueError(UpperCamelCase       )

							A		=  input_str.split("_"       )

							A		=  0 if use_pascal else 1

							A		=  words[start_index:]

							A		=  [word[0].upper() + word[1:] for word in words_to_capitalize]

							A		=  "" if use_pascal else words[0]

							return "".join([initial_word, *capitalized_words]       )


if __name__ == "__main__":
		from doctest import testmod

		testmod()


