


'''simple docstring'''






from __future__ import annotations

import math





def lowerCamelCase__     (		__lowerCamelCase			:				int				):







   '''simple docstring'''




   if 1 < number < 4:
      # 2 and 3 are primes
      return True
   elif number < 2 or number % 2 == 0 or number % 3 == 0:
      # Negatives, 0, 1, all even numbers, all multiples of 3 are not primes
      return False

   # All primes number are in format of 6k +/- 1
   for i in range(5			,       int(math.sqrt(snake_case__				) + 1				)			,       6				):
      if number % i == 0 or number % (i + 2) == 0:
         return False
   return True





def lowerCamelCase__     (		__lowerCamelCase			:				Dict				):







   '''simple docstring'''




   _UpperCAmelCase  :  Tuple				       =str(snake_case__				)
   _UpperCAmelCase  :  Optional[int]				       =[n]
   for i in range(1			,       len(snake_case__				)				):
      list_nums.append(int(str_num[i:]				)				)
      list_nums.append(int(str_num[:-i]				)				)
   return list_nums





def lowerCamelCase__     (		__lowerCamelCase			:				Any				):







   '''simple docstring'''




   if len(str(snake_case__				)				) > 3:
      if not is_prime(int(str(snake_case__				)[-3:]				)				) or not is_prime(int(str(snake_case__				)[:3]				)				):
         return False
   return True





def lowerCamelCase__     (		__lowerCamelCase			:				Tuple = 1_1				):







   '''simple docstring'''




   _UpperCAmelCase  :  Union[str, Any]				       =[]
   _UpperCAmelCase  :  Dict				       =1_3
   while len(snake_case__				) != count:
      if validate(snake_case__				):
         _UpperCAmelCase  :  Optional[Any]				       =list_truncated_nums(snake_case__				)
         if all(is_prime(snake_case__				) for i in list_nums				):
            list_truncated_primes.append(snake_case__				)
      num += 2
   return list_truncated_primes





def lowerCamelCase__     (		):







   '''simple docstring'''




   return sum(compute_truncated_primes(1_1				)				)


if __name__ == "__main__":
 print(F"""{sum(compute_truncated_primes(11)) = }""")






def     UpperCAmelCase_		(					)	->     int:



				"""simple docstring"""





				return 1







def     UpperCAmelCase_		(					snake_case__					)	->     int:



				"""simple docstring"""





				return 0 if x < 0 else two_pence(x - 2					) + one_pence()







def     UpperCAmelCase_		(					snake_case__					)	->     int:



				"""simple docstring"""





				return 0 if x < 0 else five_pence(x - 5					) + two_pence(snake_case__					)







def     UpperCAmelCase_		(					snake_case__					)	->     int:



				"""simple docstring"""





				return 0 if x < 0 else ten_pence(x - 10					) + five_pence(snake_case__					)







def     UpperCAmelCase_		(					snake_case__					)	->     int:



				"""simple docstring"""





				return 0 if x < 0 else twenty_pence(x - 20					) + ten_pence(snake_case__					)







def     UpperCAmelCase_		(					snake_case__					)	->     int:



				"""simple docstring"""





				return 0 if x < 0 else fifty_pence(x - 50					) + twenty_pence(snake_case__					)







def     UpperCAmelCase_		(					snake_case__					)	->     int:



				"""simple docstring"""





				return 0 if x < 0 else one_pound(x - 100					) + fifty_pence(snake_case__					)







def     UpperCAmelCase_		(					snake_case__					)	->     int:



				"""simple docstring"""





				return 0 if x < 0 else two_pound(x - 200					) + one_pound(snake_case__					)







def     UpperCAmelCase_		(					snake_case__ = 200					)	->     int:



				"""simple docstring"""





				return two_pound(snake_case__					)


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