input: def filter_emails_by_domain(email_list: List[str], domain: str) -> List[str]:
      """Given a list of email addresses, returns a filtered list of email addresses
      that belong to the specified domain.
      >>> filter_emails_by_domain(["john@gmail.com", "sarah@yahoo.com", "bob@microsoft.com", "sophie@gmail.com"], "gmail.com")
      ['john@gmail.com', 'sophie@gmail.com']
      >>> filter_emails_by_domain(["alice@hotmail.com", "mike@gmail.com", "jane@hotmail.com", "tom@yahoo.com"], "hotmail.com")
      ['alice@hotmail.com', 'jane@hotmail.com']
      """
output:     filtered_emails = [email for email in email_list if email.endswith(domain)]
      return filtered_emails