
"""simple docstring"""


from __future__ import annotations

import requests






def 					_snake_case (						snake_case__      :   str   ):
	A        =      F'https://hacker-news.firebaseio.com/v0/item/{story_id}.json?print=pretty'
	return requests.get(snake_case__   ).json()






def 					_snake_case (						snake_case__      :   int = 10   ):
	A        =      'https://hacker-news.firebaseio.com/v0/topstories.json?print=pretty'
	A        =      requests.get(snake_case__   ).json()[:max_stories]
	return [get_hackernews_story(snake_case__   ) for story_id in story_ids]






def 					_snake_case (						snake_case__      :   int = 10   ):
	A        =      hackernews_top_stories(snake_case__   )
	return "\n".join('* [{title}]({url})'.format(**snake_case__   ) for story in stories   )


if __name__ == "__main__":
		print(hackernews_top_stories_as_markdown())





def 			_SCREAMING_SNAKE_CASE			(							lowercase	:       int = 10_00     ):


      '''simple docstring'''



      lowerCamelCase_		     =    2**power
      lowerCamelCase_		     =    0
      while n:
            lowerCamelCase_     ,				lowerCamelCase_		     =    r + n % 10, n // 10
      return r


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



