def get_offer_based_on_quantity(offer_list, quantity):
    """Fetch specific offer based on offer quantity

    :param offer_list: List
    :param quantity: Integer

    :rtype: Dictionary
    """
    for offer in offer_list:
        if offer["quantity"] == quantity:
            return offer