text: import pytesseract
  from PIL import Image
  
  img = Image.open("flag.png")
  text = pytesseract.image_to_string(img)
  
  
  def rot(*symbols):
      def _rot(n):
          encoded = ''.join(sy[n:] + sy[:n] for sy in symbols)
          lookup = str.maketrans(''.join(symbols), encoded)
          return lambda s: s.translate(lookup)
  
      return _rot
  
  
  def rot_alpha(n):
      from string import ascii_lowercase as lc, ascii_uppercase as uc
      lookup = str.maketrans(lc + uc, lc[n:] + lc[:n] + uc[n:] + uc[:n])
      return lambda s: s.translate(lookup)
  
  
  def rot_encode(n):
      from string import ascii_lowercase as lc, ascii_uppercase as uc
      lookup = str.maketrans(lc + uc, lc[n:] + lc[:n] + uc[n:] + uc[:n])
      return lambda s: s.translate(lookup)
  
  
  print(rot_encode(7)(text))
  
  if __name__ == '__main__':
      pass
  