import random


def get_random_hashtags(input, number):
    """Gets a user-specified number of random hashtags from input

    Parameters:
    input (list): list of hashtags e.g. from fileIO.get_hashtags()
    number (int): number of random hashtags the we wanna get out

    Returns:
    Array of random hashtags
   """
    output = []
    count = 0

    while (count < number):
        hashtag = random.choice(input)
        output.append(hashtag)
        count = count + 1

    return output