


"""simple docstring"""




from itertools import product





def 			a_   (  lowercase__   :Any = 15    ):
			__lowerCamelCase        =			0.0
			__lowerCamelCase        =			42
			__lowerCamelCase        =			42
			__lowerCamelCase        =			42
			__lowerCamelCase        =			42
			__lowerCamelCase        =			42
			__lowerCamelCase        =			42

			for series in product(range(2    ), repeat=lowercase__    ):
						__lowerCamelCase        =			series.count(1    )
						__lowerCamelCase        =			num_turns - num_blue
						if num_red >= num_blue:
									continue
						__lowerCamelCase        =			1.0
						for ind, col in enumerate(lowercase__, 2    ):
									if col == 0:
												prob *= (ind - 1) / ind
									else:
												prob *= 1 / ind

						total_prob += prob

			return int(1 / total_prob    )


if __name__ == "__main__":
					print(f"""{solution() = }""")








"""simple docstring"""




def 			a_   (  lowercase__   :str, lowercase__   :int = 13    ):
			__lowerCamelCase        =			""""""
			for c in s:
						if "A" <= c <= "Z":
									out += chr(ord("""A"""    ) + (ord(lowercase__    ) - ord("""A"""    ) + n) % 26    )
						elif "a" <= c <= "z":
									out += chr(ord("""a"""    ) + (ord(lowercase__    ) - ord("""a"""    ) + n) % 26    )
						else:
									out += c
			return out





def 			a_   (  ):
			__lowerCamelCase        =			input("""Enter message: """    )

			__lowerCamelCase        =			dencrypt(lowercase__, 13    )
			print("""Encryption:""", lowercase__    )

			__lowerCamelCase        =			dencrypt(lowercase__, 13    )
			print("""Decryption: """, lowercase__    )


if __name__ == "__main__":
					import doctest

					doctest.testmod()
					main()




