




import math
def 		a_       (   __lowerCAmelCase							):
  if not isinstance(__lowerCAmelCase      ,   __lowerCAmelCase							):
    lowerCAmelCase__								=			F"""Input value of [number={number}] must be an integer"""
    raise TypeError(__lowerCAmelCase							)
  if number < 1:
    lowerCAmelCase__								=			F"""Input value of [number={number}] must be a positive integer"""
    raise ValueError(__lowerCAmelCase							)
  lowerCAmelCase__								=			[number]
  while number != 1:
    if number % 2 == 0:
      lowerCAmelCase__								=			math.floor(math.sqrt(__lowerCAmelCase							)							)
    else:
      lowerCAmelCase__								=			math.floor(
          math.sqrt(__lowerCAmelCase							) * math.sqrt(__lowerCAmelCase							) * math.sqrt(__lowerCAmelCase							)							)
    sequence.append(__lowerCAmelCase							)
  return sequence


if __name__ == "__main__":
      import doctest

      doctest.testmod()







import json

import requests

from .fetch_github_info import AUTHENTICATED_USER_ENDPOINT, fetch_github_info
def 		a_       (   __lowerCAmelCase							):





  class 						SCREAMING_SNAKE_CASE__		:
       def __init__(	self  :		List[str]					,	__lowerCamelCase  :		Any	):



         """simple docstring"""
         assert isinstance(__lowerCamelCase					,	(bytes, str)	)
         lowerCAmelCase__								=			content



       def 					A__			(	self  :		int	):



         """simple docstring"""
         return json.loads(self.content	)

  def mock_response(*__lowerCAmelCase      ,   **__lowerCAmelCase							):
    assert args[0] == AUTHENTICATED_USER_ENDPOINT
    assert "Authorization" in kwargs["headers"]
    assert kwargs["headers"]["Authorization"].startswith('''token '''							)
    assert "Accept" in kwargs["headers"]
    return FakeResponse(B'''{"login":"test","id":1}'''							)

  monkeypatch.setattr(__lowerCAmelCase      ,   '''get'''      ,   __lowerCAmelCase							)
  lowerCAmelCase__								=			fetch_github_info('''token'''							)
  assert result["login"] == "test"
  assert result["id"] == 1

