





def  A					(				UpperCAmelCase	,	UpperCAmelCase = 2					):
					return round((float(UpperCAmelCase					) * 9 / 5) + 32	,	UpperCAmelCase					)







def  A					(				UpperCAmelCase	,	UpperCAmelCase = 2					):
					return round(float(UpperCAmelCase					) + 2_7_3.1_5	,	UpperCAmelCase					)







def  A					(				UpperCAmelCase	,	UpperCAmelCase = 2					):
					return round((float(UpperCAmelCase					) * 9 / 5) + 4_9_1.6_7	,	UpperCAmelCase					)







def  A					(				UpperCAmelCase	,	UpperCAmelCase = 2					):
					return round((float(UpperCAmelCase					) - 32) * 5 / 9	,	UpperCAmelCase					)







def  A					(				UpperCAmelCase	,	UpperCAmelCase = 2					):
					return round(((float(UpperCAmelCase					) - 32) * 5 / 9) + 2_7_3.1_5	,	UpperCAmelCase					)







def  A					(				UpperCAmelCase	,	UpperCAmelCase = 2					):
					return round(float(UpperCAmelCase					) + 4_5_9.6_7	,	UpperCAmelCase					)







def  A					(				UpperCAmelCase	,	UpperCAmelCase = 2					):
					return round(float(UpperCAmelCase					) - 2_7_3.1_5	,	UpperCAmelCase					)







def  A					(				UpperCAmelCase	,	UpperCAmelCase = 2					):
					return round(((float(UpperCAmelCase					) - 2_7_3.1_5) * 9 / 5) + 32	,	UpperCAmelCase					)







def  A					(				UpperCAmelCase	,	UpperCAmelCase = 2					):
					return round((float(UpperCAmelCase					) * 9 / 5)	,	UpperCAmelCase					)







def  A					(				UpperCAmelCase	,	UpperCAmelCase = 2					):
					return round((float(UpperCAmelCase					) - 4_9_1.6_7) * 5 / 9	,	UpperCAmelCase					)







def  A					(				UpperCAmelCase	,	UpperCAmelCase = 2					):
					return round(float(UpperCAmelCase					) - 4_5_9.6_7	,	UpperCAmelCase					)







def  A					(				UpperCAmelCase	,	UpperCAmelCase = 2					):
					return round((float(UpperCAmelCase					) * 5 / 9)	,	UpperCAmelCase					)







def  A					(				UpperCAmelCase	,	UpperCAmelCase = 2					):
					return round((float(UpperCAmelCase					) * 1.2_5 + 2_7_3.1_5)	,	UpperCAmelCase					)







def  A					(				UpperCAmelCase	,	UpperCAmelCase = 2					):
					return round((float(UpperCAmelCase					) * 2.2_5 + 32)	,	UpperCAmelCase					)







def  A					(				UpperCAmelCase	,	UpperCAmelCase = 2					):
					return round((float(UpperCAmelCase					) * 1.2_5)	,	UpperCAmelCase					)







def  A					(				UpperCAmelCase	,	UpperCAmelCase = 2					):
					return round((float(UpperCAmelCase					) * 2.2_5 + 32 + 4_5_9.6_7)	,	UpperCAmelCase					)


if __name__ == "__main__":
							import doctest

							doctest.testmod()






from __future__ import annotations

from collections.abc import Generator







def  A					(				UpperCAmelCase					):
					if not isinstance(UpperCAmelCase	,	UpperCAmelCase					) or n < 1:
										raise Exception("Sequence only defined for positive integers"					)

					yield n
					while n != 1:
										if n % 2 == 0:
															n //= 2
										else:
															_snake_case							:       Any												= 3 * n + 1
										yield n







def  A					(				):
					_snake_case							:       Dict												= 43
					_snake_case							:       List[str]												= tuple(collatz_sequence(UpperCAmelCase					)					)
					print(UpperCAmelCase					)
					print(F"""Collatz sequence from {n} took {len(UpperCAmelCase					)} steps."""					)


if __name__ == "__main__":
							main()