

"""simple docstring"""






import os
from pathlib import Path





def 	lowercase      (   ) ->      Union[str, Any]:
 from torch.utils.cpp_extension import load

 __magic_name__     =      Path(__UpperCamelCase						).resolve().parent.parent.parent / '''kernels''' / '''deformable_detr'''
 __magic_name__     =      [
     root / filename
     for filename in [
         '''vision.cpp''',
         os.path.join('''cpu'''      ,   '''ms_deform_attn_cpu.cpp'''						),
         os.path.join('''cuda'''      ,   '''ms_deform_attn_cuda.cu'''						),
     ]
 ]

 load(
     '''MultiScaleDeformableAttention'''      ,   __UpperCamelCase      ,   with_cuda=__UpperCamelCase      ,   extra_include_paths=[str(__UpperCamelCase						)]      ,   extra_cflags=['''-DWITH_CUDA=1''']      ,   extra_cuda_cflags=[
         '''-DCUDA_HAS_FP16=1''',
         '''-D__CUDA_NO_HALF_OPERATORS__''',
         '''-D__CUDA_NO_HALF_CONVERSIONS__''',
         '''-D__CUDA_NO_HALF2_OPERATORS__''',
     ]      ,   )

 import MultiScaleDeformableAttention as MSDA

 return MSDA




"""simple docstring"""






def 	lowercase      (   ) ->      int:
 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 = 200						) ->      int:
 return two_pound(__UpperCamelCase						)


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

