import random


def qty_discrimination(list_of_numbers):
    """Choose which value, "a" or "b", is greater.
    Pass in a list of int values to compare.

    :param list_of_numbers: List of ints to compare,
                            usually provided as range()
    :return: String of "correct" or "incorrect" to be used by score function
             Returns "exit" if user does not enter "a" or "b"
    """
    a, b = random.choices(list_of_numbers, k=2)
    if a < b:
        correct = "b"
    else:
        correct = "a"

    allowed = ("a", "b")
    response = input(f"Which is larger?\na = {a}  or b = {b}\n")

    return correct, allowed, response