





from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


_A					:				List[str]				=			{
    """configuration_nllb_moe""": [
        """NLLB_MOE_PRETRAINED_CONFIG_ARCHIVE_MAP""",
        """NllbMoeConfig""",
    ]
}

try:
  if not is_torch_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  _A					:				List[str]				=			[
      """NLLB_MOE_PRETRAINED_MODEL_ARCHIVE_LIST""",
      """NllbMoeForConditionalGeneration""",
      """NllbMoeModel""",
      """NllbMoePreTrainedModel""",
      """NllbMoeTop2Router""",
      """NllbMoeSparseMLP""",
  ]


if TYPE_CHECKING:
  from .configuration_nllb_moe import (
      NLLB_MOE_PRETRAINED_CONFIG_ARCHIVE_MAP,
      NllbMoeConfig,
  )

  try:
    if not is_torch_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .modeling_nllb_moe import (
        NLLB_MOE_PRETRAINED_MODEL_ARCHIVE_LIST,
        NllbMoeForConditionalGeneration,
        NllbMoeModel,
        NllbMoePreTrainedModel,
        NllbMoeSparseMLP,
        NllbMoeTopaRouter,
    )


else:
  import sys

  _A					:				List[Any]				=			_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)







def 							__snake_case							(    )				->						int:
    return 1


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


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


def 							__snake_case							(    lowerCAmelCase_	)				->						int:
    return 0 if x < 0 else ten_pence(x - 1_0	) + five_pence(lowerCAmelCase_	)


def 							__snake_case							(    lowerCAmelCase_	)				->						int:
    return 0 if x < 0 else twenty_pence(x - 2_0	) + ten_pence(lowerCAmelCase_	)


def 							__snake_case							(    lowerCAmelCase_	)				->						int:
    return 0 if x < 0 else fifty_pence(x - 5_0	) + twenty_pence(lowerCAmelCase_	)


def 							__snake_case							(    lowerCAmelCase_	)				->						int:
    return 0 if x < 0 else one_pound(x - 1_0_0	) + fifty_pence(lowerCAmelCase_	)


def 							__snake_case							(    lowerCAmelCase_	)				->						int:
    return 0 if x < 0 else two_pound(x - 2_0_0	) + one_pound(lowerCAmelCase_	)


def 							__snake_case							(    lowerCAmelCase_ = 2_0_0	)				->						int:
    return two_pound(lowerCAmelCase_	)


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