






'''simple docstring'''

from __future__ import annotations



def 							snake_case					(     a_							: list    ,   a_							: int | None = None    ,   a_							: int | None = None	)       ->				None:





      """simple docstring"""

      if start is None:
            UpperCamelCase_				:   Any					    =							0

      if end is None:
            UpperCamelCase_				:   List[Any]					    =							len(a_	) - 1

      if start >= end:
            return

      UpperCamelCase_				:   Union[str, Any]					    =							(start + end) // 2

      slowsort(a_    ,   a_    ,   a_	)
      slowsort(a_    ,   mid + 1    ,   a_	)

      if sequence[end] < sequence[mid]:
            UpperCamelCase_    ,			UpperCamelCase_				:   List[str]					    =							sequence[mid], sequence[end]

      slowsort(a_    ,   a_    ,   end - 1	)


if __name__ == "__main__":
      from doctest import testmod

      testmod()














'''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())))






