from random import randint


def make_tuples(number_of_items: int, max_storage: int) -> list:
	"""
	This function will generate all of the possible tuples that the person
	will be dealing with when trying to solve this challenge.

	:param number_of_items: How many items we should generate.
	:param max_storage: The maximum space that the person has.
	:return: A list of tuples.
	"""

	tuples = []
	max_value = max_storage // 2
	for i in range(number_of_items + 1):
		tuples.append((randint(10, max_storage), randint(1, max_value)))
	return tuples