'''simple docstring'''

import unittest

from transformers import DonutProcessor


lowerCAmelCase_ : List[str]						  =      "naver-clova-ix/donut-base"





class 							lowercase						(						unittest.TestCase ):


   def __UpperCAmelCase       (   self				:	Union[str, Any])      ->					int:
         lowercase_     =      DonutProcessor.from_pretrained(__lowerCAmelCase)


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

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

         self.assertDictEqual(__lowerCAmelCase   ,		__lowerCAmelCase)







'''simple docstring'''

def __a (	__lowerCamelCase			:						int = 200				)	->							int:
      '''simple docstring'''


      lowercase_     =      [1, 2, 5, 10, 20, 50, 100, 200]
      lowercase_     =      [0] * (pence + 1)
      lowercase_     =      1  # base case: 1 way to make 0 pence

      for coin in coins:
            for i in range(__lowerCamelCase ,		pence + 1 ,		1				):
                  number_of_ways[i] += number_of_ways[i - coin]
      return number_of_ways[pence]


if __name__ == "__main__":
       assert solution(200) == 73_682






