





def 							__snake_case							(    lowerCAmelCase_	)				->						int:
    SCREAMING_SNAKE_CASE__											=			0
    while num > 0:
        digit_sum += num % 1_0
        num //= 1_0
    return digit_sum


def 							__snake_case							(    lowerCAmelCase_ = 1_0_0	)				->						int:
    SCREAMING_SNAKE_CASE__											=			1
    SCREAMING_SNAKE_CASE__											=			2

    for i in range(2 ,							max_n + 1	):
        SCREAMING_SNAKE_CASE__											=			pre_numerator
        SCREAMING_SNAKE_CASE__											=			2 * i // 3 if i % 3 == 0 else 1
        SCREAMING_SNAKE_CASE__											=			cur_numerator
        SCREAMING_SNAKE_CASE__											=			e_cont * pre_numerator + temp

    return sum_digits(lowerCAmelCase_	)


if __name__ == "__main__":
  print(F'{solution() = }')





"""simple docstring"""




import requests

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

def 		__snake_case		( SCREAMING_SNAKE_CASE__      :		str							)    ->  None:





     '''simple docstring'''

     _UpperCAmelCase     :      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>")
