def get_all_tags(total_problems, problems_finished):
    """
    For all the problems in problemset, get their tags.
    """
    tags = []
    for problem in total_problems+problems_finished:
        tags = tags+problem['tags']
    tags = list(set(tags))
    return tags