




"""simple docstring"""

import importlib
import os
import sys


# This is required to make the module import works (when the python process is running from the root of the repo)
sys.path.append(".")



def      UpperCamelCase__   (						lowercase__     :   str      ):
		snake_case						:  Any    	= test_file.split(os.path.sep      )
		if components[0:2] != ["tests", "models"]:
				raise ValueError(
				    "`test_file` should start with `tests/models/` (with `/` being the OS specific path separator). Got "
				    F'''{test_file} instead.'''      )
		snake_case						:  str    	= components[-1]
		if not test_fn.endswith("py"      ):
				raise ValueError(F'''`test_file` should be a python file. Got {test_fn} instead.'''      )
		if not test_fn.startswith("test_modeling_"      ):
				raise ValueError(
				    F'''`test_file` should point to a file name of the form `test_modeling_*.py`. Got {test_fn} instead.'''      )

		snake_case						:  int    	= components[:-1] + [test_fn.replace(".py"				,   ""      )]
		snake_case						:  Tuple    	= ".".join(__snake_case      )

		return test_module_path



def      UpperCamelCase__   (						lowercase__     :   Any      ):
		snake_case						:  List[Any]    	= get_module_path(__snake_case      )
		snake_case						:  Optional[int]    	= importlib.import_module(__snake_case      )

		return test_module



def      UpperCamelCase__   (						lowercase__     :   Tuple      ):
		snake_case						:  Union[str, Any]    	= []
		snake_case						:  str    	= get_test_module(__snake_case      )
		for attr in dir(__snake_case      ):
				if attr.endswith("ModelTester"      ):
						tester_classes.append(getattr(__snake_case				,   __snake_case      )      )

    # sort with class names
		return sorted(__snake_case				,   key=lambda lowercase__      : x.__name__      )



def      UpperCamelCase__   (						lowercase__     :   Tuple      ):
		snake_case						:  int    	= []
		snake_case						:  List[Any]    	= get_test_module(__snake_case      )
		for attr in dir(__snake_case      ):
				snake_case						:  List[Any]    	= getattr(__snake_case				,   __snake_case      )
				# (TF/Flax)ModelTesterMixin is also an attribute in specific model test module. Let's exclude them by checking
				# `all_model_classes` is not empty (which also excludes other special classes).
				snake_case						:  Optional[int]    	= getattr(__snake_case				,   "all_model_classes"				,   []      )
				if len(__snake_case      ) > 0:
						test_classes.append(__snake_case      )

    # sort with class names
		return sorted(__snake_case				,   key=lambda lowercase__      : x.__name__      )



def      UpperCamelCase__   (						lowercase__     :   List[str]      ):
		snake_case						:  Optional[Any]    	= get_test_classes(__snake_case      )
		snake_case						:  List[Any]    	= set()
		for test_class in test_classes:
				model_classes.update(test_class.all_model_classes      )

		# sort with class names
		return sorted(__snake_case				,   key=lambda lowercase__      : x.__name__      )



def      UpperCamelCase__   (						lowercase__     :   List[str]      ):
		snake_case						:  Any    	= test_class()
		if hasattr(__snake_case				,   "setUp"      ):
				test.setUp()

		snake_case						:  int    	= None
		if hasattr(__snake_case				,   "model_tester"      ):
				# `(TF/Flax)ModelTesterMixin` has this attribute default to `None`. Let's skip this case.
				if test.model_tester is not None:
						snake_case						:  Optional[int]    	= test.model_tester.__class__

		return model_tester



def      UpperCamelCase__   (						lowercase__     :   Optional[int]				,   lowercase__     :   Optional[int]      ):
		snake_case						:  int    	= get_test_classes(__snake_case      )

		snake_case						:  Tuple    	= []
		for test_class in test_classes:
				if model_class in test_class.all_model_classes:
						target_test_classes.append(__snake_case      )

    # sort with class names
		return sorted(__snake_case				,   key=lambda lowercase__      : x.__name__      )



def      UpperCamelCase__   (						lowercase__     :   Dict				,   lowercase__     :   Union[str, Any]      ):
		snake_case						:  str    	= get_test_classes_for_model(__snake_case				,   __snake_case      )

		snake_case						:  Optional[Any]    	= []
		for test_class in test_classes:
				snake_case						:  str    	= get_model_tester_from_test_class(__snake_case      )
				if tester_class is not None:
						tester_classes.append(__snake_case      )

    # sort with class names
		return sorted(__snake_case				,   key=lambda lowercase__      : x.__name__      )



def      UpperCamelCase__   (						lowercase__     :   Union[str, Any]      ):
		snake_case						:  Union[str, Any]    	= get_test_classes(__snake_case      )
		snake_case						:  Dict    	= {test_class: get_model_tester_from_test_class(__snake_case      ) for test_class in test_classes}
		return test_tester_mapping



def      UpperCamelCase__   (						lowercase__     :   str      ):
		snake_case						:  int    	= get_model_classes(__snake_case      )
		snake_case						:  List[str]    	= {
		    model_class: get_test_classes_for_model(__snake_case				,   __snake_case      ) for model_class in model_classes
		}
		return model_test_mapping



def      UpperCamelCase__   (						lowercase__     :   Dict      ):
		snake_case						:  Dict    	= get_model_classes(__snake_case      )
		snake_case						:  str    	= {
		    model_class: get_tester_classes_for_model(__snake_case				,   __snake_case      ) for model_class in model_classes
		}
		return model_to_tester_mapping



def      UpperCamelCase__   (						lowercase__     :   Tuple      ):
		if isinstance(__snake_case				,   __snake_case      ):
				return o
		elif isinstance(__snake_case				,   __snake_case      ):
				return o.__name__
		elif isinstance(__snake_case				,   (list, tuple)      ):
				return [to_json(__snake_case      ) for x in o]
		elif isinstance(__snake_case				,   __snake_case      ):
				return {to_json(__snake_case      ): to_json(__snake_case      ) for k, v in o.items()}
		else:
				return o






"""simple docstring"""






def 			_lowercase				(  )						->   int:
			return 1


def 			_lowercase				(  __snake_case	)						->   int:
			return 0 if x < 0 else two_pence(x - 2	) + one_pence()


def 			_lowercase				(  __snake_case	)						->   int:
			return 0 if x < 0 else five_pence(x - 5	) + two_pence(__snake_case	)


def 			_lowercase				(  __snake_case	)						->   int:
			return 0 if x < 0 else ten_pence(x - 10	) + five_pence(__snake_case	)


def 			_lowercase				(  __snake_case	)						->   int:
			return 0 if x < 0 else twenty_pence(x - 20	) + ten_pence(__snake_case	)


def 			_lowercase				(  __snake_case	)						->   int:
			return 0 if x < 0 else fifty_pence(x - 50	) + twenty_pence(__snake_case	)


def 			_lowercase				(  __snake_case	)						->   int:
			return 0 if x < 0 else one_pound(x - 100	) + fifty_pence(__snake_case	)


def 			_lowercase				(  __snake_case	)						->   int:
			return 0 if x < 0 else two_pound(x - 200	) + one_pound(__snake_case	)


def 			_lowercase				(  __snake_case = 200	)						->   int:
			return two_pound(__snake_case	)


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