


def       _lowerCAmelCase    (				)->int:
   '''simple docstring'''






   return 1



def       _lowerCAmelCase    (				lowerCAmelCase_				:int				)->int:
   '''simple docstring'''






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



def       _lowerCAmelCase    (				lowerCAmelCase_				:int				)->int:
   '''simple docstring'''






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



def       _lowerCAmelCase    (				lowerCAmelCase_				:int				)->int:
   '''simple docstring'''






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



def       _lowerCAmelCase    (				lowerCAmelCase_				:int				)->int:
   '''simple docstring'''






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



def       _lowerCAmelCase    (				lowerCAmelCase_				:int				)->int:
   '''simple docstring'''






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



def       _lowerCAmelCase    (				lowerCAmelCase_				:int				)->int:
   '''simple docstring'''






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



def       _lowerCAmelCase    (				lowerCAmelCase_				:int				)->int:
   '''simple docstring'''






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



def       _lowerCAmelCase    (				lowerCAmelCase_				:int = 200				)->int:
   '''simple docstring'''






   return two_pound(lowerCAmelCase_				)


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








def       _lowerCAmelCase    (				lowerCAmelCase_				:List[str]		,    lowerCAmelCase_				:int				)->Optional[int]:
   '''simple docstring'''






   snake_case_            =       0
   while b > 0:
      if b & 1:
         res += a

      a += a
      b >>= 1

   return res



def       _lowerCAmelCase    (				lowerCAmelCase_				:int		,    lowerCAmelCase_				:List[str]		,    lowerCAmelCase_				:Dict				)->Dict:
   '''simple docstring'''






   snake_case_            =       0
   while b > 0:
      if b & 1:
         snake_case_            =       ((res % c) + (a % c)) % c

      a += a
      b >>= 1

   return res




