






def 		__UpperCAmelCase     (	):
							return 1





def 		__UpperCAmelCase     (	a_):
							return 0 if x < 0 else two_pence(x - 2) + one_pence()





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





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





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





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





def 		__UpperCAmelCase     (	a_):
							return 0 if x < 0 else one_pound(x - 1_00) + fifty_pence(a_)





def 		__UpperCAmelCase     (	a_):
							return 0 if x < 0 else two_pound(x - 2_00) + one_pound(a_)





def 		__UpperCAmelCase     (	a_ = 2_00):
							return two_pound(a_)


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













import copy
from dataclasses import dataclass
from pathlib import Path
from typing import Dict, Optional, Union




@dataclass
class 					UpperCamelCase_ :



	'''simple docstring'''




	lowerCAmelCase						=					None
	lowerCAmelCase						=					False
	lowerCAmelCase						=					False
	lowerCAmelCase						=					False
	lowerCAmelCase						=					None
	lowerCAmelCase						=					None
	lowerCAmelCase						=					False
	lowerCAmelCase						=					False
	lowerCAmelCase						=					False
	lowerCAmelCase						=					True
	lowerCAmelCase						=					None
	lowerCAmelCase						=					1
	lowerCAmelCase						=					None
	lowerCAmelCase						=					False
	lowerCAmelCase						=					None
	lowerCAmelCase						=					None




	def 				_UpperCamelCase     (			self   )			->       "DownloadConfig":
								return self.__class__(**{k: copy.deepcopy(a   ) for k, v in self.__dict__.items()}   )





