



"""simple docstring"""
def        lowerCAmelCase_(   lowercase_     :							Tuple							)	->       int:
				_lowerCamelCase        =				[1]

				_lowerCamelCase  ,     _lowerCamelCase  ,     _lowerCamelCase        =				0, 0, 0
				_lowerCamelCase        =				ugly_nums[ia] * 2
				_lowerCamelCase        =				ugly_nums[ia] * 3
				_lowerCamelCase        =				ugly_nums[ia] * 5

				for _ in range(1						,   __SCREAMING_SNAKE_CASE							):
								_lowerCamelCase        =				min(__SCREAMING_SNAKE_CASE						,   __SCREAMING_SNAKE_CASE						,   __SCREAMING_SNAKE_CASE							)
								ugly_nums.append(__SCREAMING_SNAKE_CASE							)
								if next_num == next_a:
												ia += 1
												_lowerCamelCase        =				ugly_nums[ia] * 2
								if next_num == next_a:
												ia += 1
												_lowerCamelCase        =				ugly_nums[ia] * 3
								if next_num == next_a:
												ia += 1
												_lowerCamelCase        =				ugly_nums[ia] * 5
				return ugly_nums[-1]


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

			testmod(verbose=True)
			print(F"""{ugly_numbers(2_0_0) = }""")









"""simple docstring"""
from typing import Any


class 							lowerCamelCase_:





					'''simple docstring'''



					def __init__(    self				,       lowerCamelCase__   ):
									_lowerCamelCase        =				data
									_lowerCamelCase        =				None


class 							lowerCamelCase_:





					'''simple docstring'''



					def __init__(    self   ):
									_lowerCamelCase        =				None

					def 			snake_case__      (    self   ):
									_lowerCamelCase        =				self.head
									while temp is not None:
													print(temp.data				,       end=''' '''   )
													_lowerCamelCase        =				temp.next
									print()

					def 			snake_case__      (    self				,       lowerCamelCase__   ):
									_lowerCamelCase        =				Node(lowerCamelCase__   )
									_lowerCamelCase        =				self.head
									_lowerCamelCase        =				new_node





					def 			snake_case__      (    self				,       lowerCamelCase__				,       lowerCamelCase__   ):
									if node_data_a == node_data_a:
													return
									else:
													_lowerCamelCase        =				self.head
													while node_a is not None and node_a.data != node_data_a:
																	_lowerCamelCase        =				node_a.next

													_lowerCamelCase        =				self.head
													while node_a is not None and node_a.data != node_data_a:
																	_lowerCamelCase        =				node_a.next

													if node_a is None or node_a is None:
																	return

													_lowerCamelCase  ,     _lowerCamelCase        =				node_a.data, node_a.data


if __name__ == "__main__":
			__SCREAMING_SNAKE_CASE  :						List[Any]    							=      LinkedList()
			for i in range(5, 0, -1):
						ll.push(i)

			ll.print_list()

			ll.swap_nodes(1, 4)
			print('''After swapping''')
			ll.print_list()
