def favorites(instructor):
    """Return the favorite thing of the given instructor."""
    
    if instructor == "Joe":
        return "games"
    elif instructor == "Scott":
        return "ties"
    elif instructor == "John":
        return "outdoors"