def generate_prompt_landmark(self, first_length_list, second_length_list, final_length):
        """Generates a text file and inserts an passkey at a random position."""
        lines = []
        citys = random.sample(RANDOM_NEEDLE_CITIES, self.cfg.needle_num)
        for length in first_length_list:
            lines.append(self.generate_garbage(length))
            city = citys.pop()
            magic_number = random.randint(1, 50000)
            information_line = NEEDLE_TEMPLATE.format(city=city, rnd_number=magic_number)
            lines.append(information_line)

        final_question, answer = QUESTION_TEMPLATE.format(city=city), magic_number

        for length in second_length_list:
            lines.append(self.generate_garbage(length))
            city = citys.pop()
            magic_number = random.randint(1, 50000)
            information_line = NEEDLE_TEMPLATE.format(city=city, rnd_number=magic_number)
            lines.append(information_line)
            
        
        lines.append(self.generate_garbage(final_length))
        lines.append(final_question)
        context = "\n".join(lines)
        return OURS_TEMPLATE.format(context=context), str(answer)
Generates a text file and inserts an passkey at a random position.
YOCO/yoco/criterions/multi_needle.py