def selectflagpage(place, results):
    """Given a list of wikipedia page names, selects one with 'flag' or 'coat of arms' in the
    title and returns it

    :param place: The place who's flag is being searched for
    :type plae: String

    :param results: A list of search results
    :type results: [String]

    :return: The selected result
    :rtype: String
    """
    for result in results:
        if "flag" in result.lower():
            return result
    for result in results:
        if "coat of arms" in result.lower():
            return result