input: 
  from typing import List
  
  def clean_email_list(emails: List[str]) -> List[str]:
      """ Cleans up a list of emails by removing the part after the '+' symbol and the '.uk' extension.
      >>> clean_email_list(['bob@example.com', 'alice+bob@cafe.com', 'bob@gmail.com.uk', 'bob+alice@example'])
      ['bob@example', 'alice@cafe', 'bob@gmail', 'bob@example']
      """
  
output:     cleaned_emails = []
      for email in emails:
          if '+' in email:
              email = email.split('+')[0]
          if '.uk' in email:
              email = email.split('.uk')[0]
          cleaned_emails.append(email.split('@')[0] + '@' + email.split('@')[1].split('.')[0])
      return cleaned_emails