input:                            
  def caesar_encrypt(message: str, shift: int) -> str:
      """Encrypt the given message using the Caesar cipher with the specified shift.
      Non-alphabetic characters remain unchanged.
      
      >>> caesar_encrypt('Hello, World!', 3)
      'Khoor/#Zruog$'
      >>> caesar_encrypt('abc', 1)
      'bcd'
      >>> caesar_encrypt('XYZ', 5)
      ']^_'
      """
output:     encrypted_message = []
      for char in message:
          if char.isalpha():
              shift_amount = shift % 26
              if char.islower():
                  new_char = chr((ord(char) - ord('a') + shift_amount) % 26 + ord('a'))
              else:
                  new_char = chr((ord(char) - ord('A') + shift_amount) % 26 + ord('A'))
              encrypted_message.append(new_char)
          else:
              encrypted_message.append(char)
      return ''.join(encrypted_message)