input: 
  def send_automated_email(sender_email: str, password: str, recipient_emails: list) -> None:
      """Sends an email from the sender_email to each address in the recipient_emails list.
      The email will have a subject 'Automated Email from Program' and the body 'Message body'.
      
      >>> send_automated_email('example@gmail.com', 'example_password', ["email1@example.com","email2@example.com"])
      'Email sent successfully.'
      """
      import smtplib
  
      for email in recipient_emails:
          with smtplib.SMTP('smtp.gmail.com', 587) as server:
              server.ehlo()
              server.starttls()
              server.login(sender_email, password)
  
              subject = 'Automated Email from Program'
              message = 'Message body'
              
              server.sendmail(sender_email, email, 'Subject: ' + subject + '\n\n' + message)
              server.quit()
              print('Email sent successfully.')
  
output:     import smtplib
  
      for email in recipient_emails:
          with smtplib.SMTP('smtp.gmail.com', 587) as server:
              server.ehlo()
              server.starttls()
              server.login(sender_email, password)
  
              subject = 'Automated Email from Program'
              message = 'Message body'
              
              server.sendmail(sender_email, email, 'Subject: ' + subject + '\n\n' + message)
              server.quit()
              print('Email sent successfully.')