text: # Resolve the problem!!
  
  PALINDROMES = [
      'Acaso hubo buhos aca',
      'A la catalana banal atacala',
      'Amar da drama',
  ]
  
  NOT_PALINDROMES = [
      'Hola como estas',
      'Platzi'
      'Oscar',
  ]
  
  
  def is_palindrome(palindrome):
      fixed_string = palindrome.replace(" ", "").upper()
      N = len(fixed_string)
      for i in range((N+1)//2):
          if not fixed_string[i] == fixed_string[N-1-i]:
              return False
      return True
  
  
  def validate():
      for palindrome in PALINDROMES:
          if not is_palindrome(palindrome):
              return False
  
      for not_palindrome in NOT_PALINDROMES:
          if is_palindrome(not_palindrome):
              return False
      return True
  
  
  def run():
      if validate():
          print('Completaste el test')
      else:
          print('No completaste el test')
  
  
  if __name__ == '__main__':
      run()
  