



import os
from math import logaa






def     __a					(		__UpperCAmelCase = "base_exp.txt"       ):
 a__												= 0
 a__												= 0
 for i, line in enumerate(open(os.path.join(os.path.dirname(__UpperCAmelCase       )							,  __UpperCAmelCase       )       )       ):
  a__							,			a__												= list(map(__UpperCAmelCase							,  line.split(''','''       )       )       )
  if x * logaa(__UpperCAmelCase       ) > largest:
   a__												= x * logaa(__UpperCAmelCase       )
   a__												= i + 1
 return result


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










from __future__ import annotations

import requests






def     __a					(		__UpperCAmelCase       ):
 a__												= f"https://hacker-news.firebaseio.com/v0/item/{story_id}.json?print=pretty"
 return requests.get(__UpperCAmelCase       ).json()






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






def     __a					(		__UpperCAmelCase = 10       ):
 a__												= hackernews_top_stories(__UpperCAmelCase       )
 return "\n".join('''* [{title}]({url})'''.format(**__UpperCAmelCase       ) for story in stories       )


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





