


'''simple docstring'''



from __future__ import annotations

import os
from typing import Any

import requests

__UpperCAmelCase    :List[Any]				       =     "https://api.github.com"

# https://docs.github.com/en/free-pro-team@latest/rest/reference/users#get-the-authenticated-user
__UpperCAmelCase    :Union[str, Any]				       =     BASE_URL + "/user"

# https://github.com/settings/tokens
__UpperCAmelCase    :Union[str, Any]				       =     os.environ.get("USER_TOKEN", "")




def 			_a			(		_lowercase      :			str						):





     '''simple docstring'''






     __UpperCAmelCase			:				List[Any]													=    {
         '''Authorization''': F'token {auth_token}',
         '''Accept''': '''application/vnd.github.v3+json''',
     }
     return requests.get(_lowercase    ,      headers=_lowercase						).json()


if __name__ == "__main__":  # pragma: no cover
      if USER_TOKEN:
            for key, value in fetch_github_info(USER_TOKEN).items():
                  print(f"""{key}: {value}""")
      else:
            raise ValueError("'USER_TOKEN' field cannot be empty.")



'''simple docstring'''



def 			_a			(		_lowercase      :			int = 50000000						):





     '''simple docstring'''






     __UpperCAmelCase			:				List[str]													=    set()
     __UpperCAmelCase			:				Tuple													=    int((limit - 24) ** (1 / 2)						)

     __UpperCAmelCase			:				Tuple													=    set(range(3    ,      prime_square_limit + 1    ,      2						)						)
     primes.add(2						)
     for p in range(3    ,      prime_square_limit + 1    ,      2						):
          if p not in primes:
               continue
          primes.difference_update(set(range(p * p    ,      prime_square_limit + 1    ,      _lowercase						)						)						)

     for primea in primes:
          __UpperCAmelCase			:				Any													=    primea * primea
          for primea in primes:
               __UpperCAmelCase			:				Any													=    primea * primea * primea
               if square + cube >= limit - 16:
                    break
               for primea in primes:
                    __UpperCAmelCase			:				Optional[Any]													=    primea * primea * primea * primea
                    __UpperCAmelCase			:				Union[str, Any]													=    square + cube + tetr
                    if total >= limit:
                         break
                    ret.add(_lowercase						)

     return len(_lowercase						)


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