




'''simple docstring'''



from __future__ import annotations







def       _UpperCamelCase			(_lowerCamelCase				:  int ,						_lowerCamelCase				:  int						)-> list[list[int]]:




     '''simple docstring'''





     __snake_case            =	[]
     create_all_state(1 ,						_lowerCamelCase ,						_lowerCamelCase ,						[] ,						_lowerCamelCase						)
     return result







def       _UpperCamelCase			(_lowerCamelCase				:  int ,						_lowerCamelCase				:  int ,						_lowerCamelCase				:  int ,						_lowerCamelCase				:  list[int] ,						_lowerCamelCase				:  list[list[int]] ,						)-> None:




     '''simple docstring'''





     if level == 0:
          total_list.append(current_list[:]						)
          return

     for i in range(_lowerCamelCase ,						total_number - level + 2						):
          current_list.append(_lowerCamelCase						)
          create_all_state(i + 1 ,						_lowerCamelCase ,						level - 1 ,						_lowerCamelCase ,						_lowerCamelCase						)
          current_list.pop()







def       _UpperCamelCase			(_lowerCamelCase				:  list[list[int]]						)-> None:




     '''simple docstring'''





     for i in total_list:
          print(*_lowerCamelCase						)


if __name__ == "__main__":
     UpperCAmelCase_							:	Dict	     =		4
     UpperCAmelCase_							:	List[str]	     =		2
     UpperCAmelCase_							:	str	     =		generate_all_combinations(n, k)
     print_all_state(total_list)









from math import sqrt
def 							__SCREAMING_SNAKE_CASE     (   a__    :   int = 1000000       )					->				int:
	__A :			int		    =			0
	__A :			int		    =			0
	__A :			int

	while num_cuboids <= limit:
		max_cuboid_size += 1
		for sum_shortest_sides in range(2			,2 * max_cuboid_size + 1       ):
			if sqrt(sum_shortest_sides**2 + max_cuboid_size**2       ).is_integer():
				num_cuboids += (
				    min(a__			,sum_shortest_sides // 2       )
				    - max(1			,sum_shortest_sides - max_cuboid_size       )
				    + 1
				)

	return max_cuboid_size


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





