





import unittest

from transformers import DonutProcessor


A    :					Optional[int] =      '''naver-clova-ix/donut-base'''


class   A			(unittest.TestCase    ):
			'''simple docstring'''




			def    a_       (			self   :    List[str]   )	->	Union[str, Any]:







					"""simple docstring"""






					A__        =   DonutProcessor.from_pretrained(__lowerCAmelCase   )







			def    a_       (			self   :    Union[str, Any]   )	->	int:







					"""simple docstring"""






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

					A__        =   (
					    """<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>"""
					)
					A__        =   self.processor.tokenajson(__lowerCAmelCase   )

					self.assertDictEqual(__lowerCAmelCase							,	__lowerCAmelCase   )










def    __lowerCamelCase					(							__a   :int = 1_0_0_0_0_0_0    )		->				int:






		"""simple docstring"""

		A__        =   limit + 1
		A__        =   [0] * limit
		for first_term in range(1    ,     __a    ):
				for n in range(__a    ,     __a    ,     __a    ):
						A__        =   first_term + n / first_term
						if common_difference % 4:  # d must be divisble by 4
								continue
						else:
								common_difference /= 4
								if (
								    first_term > common_difference
								    and first_term < 4 * common_difference
								):  # since x,y,z are positive integers
										frequency[n] += 1  # so z>0 and a>d ,also 4d<a

		A__        =   sum(1 for x in frequency[1:limit] if x == 1_0    )

		return count


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



