





'''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     )













def 		__UpperCAmelCase     (	a_ = 10**9):
							snake_case_           =				1
							snake_case_           =				2

							snake_case_           =				0
							snake_case_           =				0
							snake_case_           =				0
							while perimeter <= max_perimeter:
														perimeters_sum += perimeter

														prev_value += 2 * value
														value += prev_value

														snake_case_           =				2 * value + 2 if i % 2 == 0 else 2 * value - 2
														i += 1

							return perimeters_sum


if __name__ == "__main__":
	print(f'{solution() = }')





