
"""simple docstring"""




import unittest

from transformers import DonutProcessor


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

class 						a__		( unittest.TestCase		):
   def      __magic_name__     (     self							):
          lowercase       :							Optional[int]									=				DonutProcessor.from_pretrained(__snake_case							)

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

          lowercase       :							Tuple									=				(
              "<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       :							Dict									=				self.processor.tokenajson(__snake_case							)

          self.assertDictEqual(__snake_case      ,       __snake_case							)






def      UpperCAmelCase__		(UpperCamelCase_ = 10_00							):



     """simple docstring"""






     return sum(2 * a * ((a - 1) // 2) for a in range(3				,n + 1							)							)


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




