





from __future__ import annotations

import requests


def 							__snake_case							(    lowerCAmelCase_	)				->						dict:
    SCREAMING_SNAKE_CASE__											=			f'''https://hacker-news.firebaseio.com/v0/item/{story_id}.json?print=pretty'''
    return requests.get(lowerCAmelCase_	).json()


def 							__snake_case							(    lowerCAmelCase_ = 1_0	)				->						list[dict]:
    SCREAMING_SNAKE_CASE__											=			'''https://hacker-news.firebaseio.com/v0/topstories.json?print=pretty'''
    SCREAMING_SNAKE_CASE__											=			requests.get(lowerCAmelCase_	).json()[:max_stories]
    return [get_hackernews_story(lowerCAmelCase_	) for story_id in story_ids]


def 							__snake_case							(    lowerCAmelCase_ = 1_0	)				->						str:
    SCREAMING_SNAKE_CASE__											=			hackernews_top_stories(lowerCAmelCase_	)
    return "\n".join('''* [{title}]({url})'''.format(**lowerCAmelCase_	) for story in stories	)


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







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())))
