
import requests

lowerCamelCase__    :		Optional[Any]          =   """https://newsapi.org/v1/articles?source=bbc-news&sortBy=top&apiKey="""

def 		UpperCamelCase	(      lowercase_   )		->	None:


  '''simple docstring'''






  lowercase__  :   List[str]    		=      requests.get(_NEWS_API + bbc_news_api_key   ).json()
  # each article in the list is a dict
  for i, article in enumerate(bbc_news_page["""articles"""] , 1   ):
    print(F'{i}.) {article["title"]}'   )


if __name__ == "__main__":
     fetch_bbc_news(bbc_news_api_key="""<Your BBC News API key goes here>""")








def 		UpperCamelCase	(      lowercase_ = 10_00   )		->	int:


  '''simple docstring'''






  return sum(2 * a * ((a - 1) // 2) for a in range(3 , n + 1   )   )


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






