




import unittest

from transformers import DonutProcessor


_UpperCAmelCase		:  Optional[int]	=   "naver-clova-ix/donut-base"




class       __lowerCAmelCase				(							unittest.TestCase):






       def     SCREAMING_SNAKE_CASE			(      self:    int ):
         lowercase			:List[str]							=  DonutProcessor.from_pretrained(_lowerCAmelCase )






       def     SCREAMING_SNAKE_CASE			(      self:    List[str] ):
         lowercase			:str							=  {
             "name": "John Doe",
             "age": "99",
             "city": "Atlanta",
             "state": "GA",
             "zip": "30301",
             "phone": "123-4567",
             "nicknames": [{"nickname": "Johnny"}, {"nickname": "JD"}],
         }

         lowercase			:Any							=  (
             "<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>"
         )
         lowercase			:Any							=  self.processor.tokenajson(_lowerCAmelCase )

         self.assertDictEqual(_lowerCAmelCase				,    _lowerCAmelCase )









import os
from math import logaa



def 					UpperCAmelCase__     (   lowerCamelCase = "base_exp.txt"      ):
  lowercase			:float							=  0
  lowercase			:str							=  0
  for i, line in enumerate(open(os.path.join(os.path.dirname(lowerCamelCase      ),	lowerCamelCase      )      )      ):
    lowercase		,			lowercase			:str							=  list(map(lowerCamelCase,	line.split(","      )      )      )
    if x * logaa(lowerCamelCase      ) > largest:
      lowercase			:Optional[Any]							=  x * logaa(lowerCamelCase      )
      lowercase			:Any							=  i + 1
  return result


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



