


'''simple docstring'''
def       _lowercase							(					):
 return 1


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


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


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


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


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


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


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


def       _lowercase							(					UpperCamelCase__							:       int = 200      ):
 return two_pound(UpperCamelCase__      )


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










'''simple docstring'''
from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available


UpperCAmelCase_			:  Any										=   {
    'configuration_maskformer': ['MASKFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP', 'MaskFormerConfig'],
    'configuration_maskformer_swin': ['MaskFormerSwinConfig'],
}

try:
 if not is_vision_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 UpperCAmelCase_			:  Tuple										=   ['MaskFormerFeatureExtractor']
 UpperCAmelCase_			:  List[str]										=   ['MaskFormerImageProcessor']


try:
 if not is_torch_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 UpperCAmelCase_			:  Optional[Any]										=   [
     'MASKFORMER_PRETRAINED_MODEL_ARCHIVE_LIST',
     'MaskFormerForInstanceSegmentation',
     'MaskFormerModel',
     'MaskFormerPreTrainedModel',
 ]
 UpperCAmelCase_			:  Optional[int]										=   [
     'MaskFormerSwinBackbone',
     'MaskFormerSwinModel',
     'MaskFormerSwinPreTrainedModel',
 ]

if TYPE_CHECKING:
 from .configuration_maskformer import MASKFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP, MaskFormerConfig
 from .configuration_maskformer_swin import MaskFormerSwinConfig

 try:
  if not is_vision_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .feature_extraction_maskformer import MaskFormerFeatureExtractor
  from .image_processing_maskformer import MaskFormerImageProcessor
 try:
  if not is_torch_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_maskformer import (
      MASKFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
      MaskFormerForInstanceSegmentation,
      MaskFormerModel,
      MaskFormerPreTrainedModel,
  )
  from .modeling_maskformer_swin import (
      MaskFormerSwinBackbone,
      MaskFormerSwinModel,
      MaskFormerSwinPreTrainedModel,
  )


else:
 import sys

 UpperCAmelCase_			:  Union[str, Any]										=   _LazyModule(__name__, globals()['__file__'], _import_structure)






