





'''simple docstring'''

import unittest

from transformers import DonutProcessor


a   	=    "naver-clova-ix/donut-base"







class __a			( unittest.TestCase      ):





   def   UpperCAmelCase__  (       self					:      int     ):

      '''simple docstring'''

      __SCREAMING_SNAKE_CASE   				=							DonutProcessor.from_pretrained(lowerCamelCase     )





   def   UpperCAmelCase__  (       self					:      int     ):

      '''simple docstring'''

      __SCREAMING_SNAKE_CASE   				=							{
          """name""": """John Doe""",
          """age""": """99""",
          """city""": """Atlanta""",
          """state""": """GA""",
          """zip""": """30301""",
          """phone""": """123-4567""",
          """nicknames""": [{"""nickname""": """Johnny"""}, {"""nickname""": """JD"""}],
      }

      __SCREAMING_SNAKE_CASE   				=							(
          """<s_name>John Doe</s_name><s_age>99</s_age><s_city>Atlanta</s_city>"""
          """<s_state>GA</s_state><s_zip>30301</s_zip><s_phone>123-4567</s_phone>"""
          """<s_nicknames><s_nickname>Johnny</s_nickname>"""
          """<sep/><s_nickname>JD</s_nickname></s_nicknames>"""
      )
      __SCREAMING_SNAKE_CASE   				=							self.processor.tokenajson(lowerCamelCase     )

      self.assertDictEqual(lowerCamelCase					,lowerCamelCase     )












'''simple docstring'''

import os
from math import logaa

def     __magic_name__							(				__UpperCAmelCase = "base_exp.txt"   )    ->       int:

   '''simple docstring'''







   __SCREAMING_SNAKE_CASE   				=							0
   __SCREAMING_SNAKE_CASE   				=							0
   for i, line in enumerate(open(os.path.join(os.path.dirname(__UpperCAmelCase   )				,						__UpperCAmelCase   )   )   ):
      __SCREAMING_SNAKE_CASE				,  __SCREAMING_SNAKE_CASE   				=							list(map(__UpperCAmelCase				,						line.split(""","""   )   )   )
      if x * logaa(__UpperCAmelCase   ) > largest:
         __SCREAMING_SNAKE_CASE   				=							x * logaa(__UpperCAmelCase   )
         __SCREAMING_SNAKE_CASE   				=							i + 1
   return result


if __name__ == "__main__":
    print(solution())





