

"""simple docstring"""




from __future__ import annotations

import json

import requests
from bsa import BeautifulSoup
from fake_useragent import UserAgent

SCREAMING_SNAKE_CASE_     :			int	  =			{'''UserAgent''': UserAgent().random}



def 	UpperCAmelCase__   (				A__   )      ->      dict:




   """simple docstring"""
   lowerCamelCase__						=			script.contents[0]
   lowerCamelCase__						=			json.loads(data[data.find("{\"config\""   ) : -1]   )
   return info["entry_data"]["ProfilePage"][0]["graphql"]["user"]


class 		_A       :





      def __init__(  self    ,						SCREAMING_SNAKE_CASE__		)   ->					str:
         lowerCamelCase__						=			f'https://www.instagram.com/{username}/'
         lowerCamelCase__						=			self.get_json()





      def 					_lowerCamelCase  (  self		)   ->					dict:
         lowerCamelCase__						=			requests.get(self.url    ,						headers=SCREAMING_SNAKE_CASE__		).text
         lowerCamelCase__						=			BeautifulSoup(SCREAMING_SNAKE_CASE__    ,						"html.parser"		).find_all("script"		)
         try:
            return extract_user_profile(scripts[4]		)
         except (json.decoder.JSONDecodeError, KeyError):
            return extract_user_profile(scripts[3]		)





      def __repr__(  self		)   ->					str:
         return f'{self.__class__.__name__}(\'{self.username}\')'





      def __str__(  self		)   ->					str:
         return f'{self.fullname} ({self.username}) is {self.biography}'





      @property
      def 					_lowerCamelCase  (  self		)   ->					str:
         return self.user_data["username"]





      @property
      def 					_lowerCamelCase  (  self		)   ->					str:
         return self.user_data["full_name"]





      @property
      def 					_lowerCamelCase  (  self		)   ->					str:
         return self.user_data["biography"]





      @property
      def 					_lowerCamelCase  (  self		)   ->					str:
         return self.user_data["business_email"]





      @property
      def 					_lowerCamelCase  (  self		)   ->					str:
         return self.user_data["external_url"]





      @property
      def 					_lowerCamelCase  (  self		)   ->					int:
         return self.user_data["edge_followed_by"]["count"]





      @property
      def 					_lowerCamelCase  (  self		)   ->					int:
         return self.user_data["edge_follow"]["count"]





      @property
      def 					_lowerCamelCase  (  self		)   ->					int:
         return self.user_data["edge_owner_to_timeline_media"]["count"]





      @property
      def 					_lowerCamelCase  (  self		)   ->					str:
         return self.user_data["profile_pic_url_hd"]





      @property
      def 					_lowerCamelCase  (  self		)   ->					bool:
         return self.user_data["is_verified"]





      @property
      def 					_lowerCamelCase  (  self		)   ->					bool:
         return self.user_data["is_private"]






def 	UpperCAmelCase__   (				A__ = "github"   )      ->      None:




   """simple docstring"""
   import os

   if os.environ.get("CI"   ):
      return  # test failing on GitHub Actions
   lowerCamelCase__						=			InstagramUser(A__   )
   assert instagram_user.user_data
   assert isinstance(instagram_user.user_data	,    A__   )
   assert instagram_user.username == username
   if username != "github":
      return
   assert instagram_user.fullname == "GitHub"
   assert instagram_user.biography == "Built for developers."
   assert instagram_user.number_of_posts > 150
   assert instagram_user.number_of_followers > 12_0000
   assert instagram_user.number_of_followings > 15
   assert instagram_user.email == "support@github.com"
   assert instagram_user.website == "https://github.com/readme"
   assert instagram_user.profile_picture_url.startswith("https://instagram."   )
   assert instagram_user.is_verified is True
   assert instagram_user.is_private is False


if __name__ == "__main__":
     import doctest

     doctest.testmod()
     SCREAMING_SNAKE_CASE_     :			str	  =			InstagramUser('''github''')
     print(instagram_user)
     print(F'''{instagram_user.number_of_posts = }''')
     print(F'''{instagram_user.number_of_followers = }''')
     print(F'''{instagram_user.number_of_followings = }''')
     print(F'''{instagram_user.email = }''')
     print(F'''{instagram_user.website = }''')
     print(F'''{instagram_user.profile_picture_url = }''')
     print(F'''{instagram_user.is_verified = }''')
     print(F'''{instagram_user.is_private = }''')







"""simple docstring"""




def 	UpperCAmelCase__   (				)      ->      int:




   """simple docstring"""
   return 1



def 	UpperCAmelCase__   (				A__   )      ->      int:




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



def 	UpperCAmelCase__   (				A__   )      ->      int:




   """simple docstring"""
   return 0 if x < 0 else five_pence(x - 5   ) + two_pence(A__   )



def 	UpperCAmelCase__   (				A__   )      ->      int:




   """simple docstring"""
   return 0 if x < 0 else ten_pence(x - 10   ) + five_pence(A__   )



def 	UpperCAmelCase__   (				A__   )      ->      int:




   """simple docstring"""
   return 0 if x < 0 else twenty_pence(x - 20   ) + ten_pence(A__   )



def 	UpperCAmelCase__   (				A__   )      ->      int:




   """simple docstring"""
   return 0 if x < 0 else fifty_pence(x - 50   ) + twenty_pence(A__   )



def 	UpperCAmelCase__   (				A__   )      ->      int:




   """simple docstring"""
   return 0 if x < 0 else one_pound(x - 100   ) + fifty_pence(A__   )



def 	UpperCAmelCase__   (				A__   )      ->      int:




   """simple docstring"""
   return 0 if x < 0 else two_pound(x - 200   ) + one_pound(A__   )



def 	UpperCAmelCase__   (				A__ = 200   )      ->      int:




   """simple docstring"""
   return two_pound(A__   )


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




