def subject(headers):
    """
    Searches for the key 'Subject' in email headers
    then returns the value of this key (the email
    subject title).
    """
    for header in headers:
        if header['name'] == 'Subject':
            return header['value']