






import os
import unittest

from transformers.models.phobert.tokenization_phobert import VOCAB_FILES_NAMES, PhobertTokenizer

from ...test_tokenization_common import TokenizerTesterMixin




class     A    (      a__,   unittest.TestCase						):






 """simple docstring"""





 __a			:						Union[str, Any]      =						PhobertTokenizer
 __a			:						Dict      =						False
 def   _UpperCAmelCase       (							self ):
       super().setUp()

       # Adapted from Sennrich et al. 2015 and https://github.com/rsennrich/subword-nmt
       UpperCamelCase_				:   Optional[int]					    =							["T@@", "i", "I", "R@@", "r", "e@@"]
       UpperCamelCase_				:   str					    =							dict(zip(lowerCAmelCase__			,     range(len(lowerCAmelCase__ ) ) ) )
       UpperCamelCase_				:   Any					    =							["#version: 0.2", "l à</w>"]
       UpperCamelCase_				:   Dict					    =							{"unk_token": "<unk>"}

       UpperCamelCase_				:   Dict					    =							os.path.join(self.tmpdirname			,     VOCAB_FILES_NAMES["""vocab_file"""] )
       UpperCamelCase_				:   Dict					    =							os.path.join(self.tmpdirname			,     VOCAB_FILES_NAMES["""merges_file"""] )

       with open(self.vocab_file			,     """w"""			,     encoding="""utf-8""" ) as fp:
             for token in vocab_tokens:
                   fp.write(F"{token} {vocab_tokens[token]}\n" )
       with open(self.merges_file			,     """w"""			,     encoding="""utf-8""" ) as fp:
             fp.write("""\n""".join(lowerCAmelCase__ ) )
 def   _UpperCAmelCase       (							self			,     **__lowerCAmelCase ):
       kwargs.update(self.special_tokens_map )
       return PhobertTokenizer.from_pretrained(self.tmpdirname			,     **lowerCAmelCase__ )
 def   _UpperCAmelCase       (							self			,     __lowerCAmelCase ):
       UpperCamelCase_				:   Union[str, Any]					    =							"Tôi là VinAI Research"
       UpperCamelCase_				:   int					    =							"T<unk> i <unk> <unk> <unk> <unk> <unk> <unk> I Re<unk> e<unk> <unk> <unk> <unk>"
       return input_text, output_text





 def   _UpperCAmelCase       (							self ):
       UpperCamelCase_				:   Tuple					    =							PhobertTokenizer(self.vocab_file			,     self.merges_file			,     **self.special_tokens_map )
       UpperCamelCase_				:   str					    =							"Tôi là VinAI Research"
       UpperCamelCase_				:   str					    =							"T@@ ô@@ i l@@ à V@@ i@@ n@@ A@@ I R@@ e@@ s@@ e@@ a@@ r@@ c@@ h".split()
       UpperCamelCase_				:   str					    =							tokenizer.tokenize(lowerCAmelCase__ )
       print(lowerCAmelCase__ )
       self.assertListEqual(lowerCAmelCase__			,     lowerCAmelCase__ )

       UpperCamelCase_				:   Union[str, Any]					    =							tokens + [tokenizer.unk_token]

       UpperCamelCase_				:   int					    =							[4, 3, 5, 3, 3, 3, 3, 3, 3, 6, 7, 9, 3, 9, 3, 3, 3, 3, 3]
       self.assertListEqual(tokenizer.convert_tokens_to_ids(lowerCAmelCase__ )			,     lowerCAmelCase__ )














'''simple docstring'''

def 							snake_case					(     )       ->				int:





      """simple docstring"""

      return 1



def 							snake_case					(     a_							: int	)       ->				int:





      """simple docstring"""

      return 0 if x < 0 else two_pence(x - 2	) + one_pence()



def 							snake_case					(     a_							: int	)       ->				int:





      """simple docstring"""

      return 0 if x < 0 else five_pence(x - 5	) + two_pence(a_	)



def 							snake_case					(     a_							: int	)       ->				int:





      """simple docstring"""

      return 0 if x < 0 else ten_pence(x - 10	) + five_pence(a_	)



def 							snake_case					(     a_							: int	)       ->				int:





      """simple docstring"""

      return 0 if x < 0 else twenty_pence(x - 20	) + ten_pence(a_	)



def 							snake_case					(     a_							: int	)       ->				int:





      """simple docstring"""

      return 0 if x < 0 else fifty_pence(x - 50	) + twenty_pence(a_	)



def 							snake_case					(     a_							: int	)       ->				int:





      """simple docstring"""

      return 0 if x < 0 else one_pound(x - 100	) + fifty_pence(a_	)



def 							snake_case					(     a_							: int	)       ->				int:





      """simple docstring"""

      return 0 if x < 0 else two_pound(x - 200	) + one_pound(a_	)



def 							snake_case					(     a_							: int = 200	)       ->				int:





      """simple docstring"""

      return two_pound(a_	)


if __name__ == "__main__":
      print(solution(int(input().strip())))






