import random


def pick_pivot(l, r):
    """ Picks a pivot element at random from the 25-75% input percentile.

    Params:
    l - left most index to pick as pivot
    r - right most index to pick as pivot

    Return:
    int - a randon number in [l, r]
    """
    return random.randint(l, r)