
"""simple docstring"""


def    _snake_case					(		):
	return 1






def    _snake_case					(		snake_case__ :  int  ):
	return 0 if x < 0 else two_pence(x - 2  ) + one_pence()






def    _snake_case					(		snake_case__ :  int  ):
	return 0 if x < 0 else five_pence(x - 5  ) + two_pence(snake_case__  )






def    _snake_case					(		snake_case__ :  int  ):
	return 0 if x < 0 else ten_pence(x - 10  ) + five_pence(snake_case__  )






def    _snake_case					(		snake_case__ :  int  ):
	return 0 if x < 0 else twenty_pence(x - 20  ) + ten_pence(snake_case__  )






def    _snake_case					(		snake_case__ :  int  ):
	return 0 if x < 0 else fifty_pence(x - 50  ) + twenty_pence(snake_case__  )






def    _snake_case					(		snake_case__ :  int  ):
	return 0 if x < 0 else one_pound(x - 100  ) + fifty_pence(snake_case__  )






def    _snake_case					(		snake_case__ :  int  ):
	return 0 if x < 0 else two_pound(x - 200  ) + one_pound(snake_case__  )






def    _snake_case					(		snake_case__ :  int = 200  ):
	return two_pound(snake_case__  )


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



"""simple docstring"""






def 				A_       ( snake_case__       ,					snake_case__ = " "		)					->  list:
			_UpperCamelCase					:List[str]					     =	[]

			_UpperCamelCase					:int					     =	0
			for index, char in enumerate(snake_case__		):
						if char == separator:
									split_words.append(string[last_index:index]		)
									_UpperCamelCase					:Dict					     =	index + 1
						elif index + 1 == len(snake_case__		):
									split_words.append(string[last_index : index + 1]		)
			return split_words


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

					testmod()

