





"""simple docstring"""



def 		__lowercase     (   )   ->int:



    '''simple docstring'''







    return 1







def 		__lowercase     (   snake_case_  :  int						)   ->int:



    '''simple docstring'''







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







def 		__lowercase     (   snake_case_  :  int						)   ->int:



    '''simple docstring'''







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







def 		__lowercase     (   snake_case_  :  int						)   ->int:



    '''simple docstring'''







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







def 		__lowercase     (   snake_case_  :  int						)   ->int:



    '''simple docstring'''







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







def 		__lowercase     (   snake_case_  :  int						)   ->int:



    '''simple docstring'''







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







def 		__lowercase     (   snake_case_  :  int						)   ->int:



    '''simple docstring'''







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







def 		__lowercase     (   snake_case_  :  int						)   ->int:



    '''simple docstring'''







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







def 		__lowercase     (   snake_case_  :  int = 200						)   ->int:



    '''simple docstring'''







    return two_pound(snake_case_						)


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





'''simple docstring'''





from transformers import DistilBertTokenizer, DistilBertTokenizerFast
from transformers.testing_utils import require_tokenizers, slow

from ..bert.test_tokenization_bert import BertTokenizationTest




@require_tokenizers
class        __A      ( UpperCamelCase__	):
    a__       :						Optional[Any]          =  DistilBertTokenizer
    a__       :						Any          =  DistilBertTokenizerFast
    a__       :						str          =  True



    @slow
    def 					_lowercase						(self    :    int ):
         UpperCAmelCase_           =   DistilBertTokenizer.from_pretrained("distilbert-base-uncased" )

         UpperCAmelCase_           =   tokenizer.encode("sequence builders"   ,			add_special_tokens=__a )
         UpperCAmelCase_           =   tokenizer.encode("multi-sequence build"   ,			add_special_tokens=__a )

         UpperCAmelCase_           =   tokenizer.build_inputs_with_special_tokens(__a )
         UpperCAmelCase_           =   tokenizer.build_inputs_with_special_tokens(__a   ,			__a )

         assert encoded_sentence == [tokenizer.cls_token_id] + text + [tokenizer.sep_token_id]
         assert encoded_pair == [tokenizer.cls_token_id] + text + [tokenizer.sep_token_id] + text_a + [
             tokenizer.sep_token_id
         ]




