input: 
  def filter_emails_by_domain(email_list: list, domain: str) -> list:
      """Filter a list of email addresses to return only those that belong to a particular 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@outlook.com", "jane@hotmail.com"], "outlook.com")
      ["mike@outlook.com"]
      """
  
output:     filtered_emails = [email for email in email_list if email.endswith(domain)]
      return filtered_emails