
from urllib.parse import quote

import pytest

from datasets.utils.hub import hf_hub_url
@pytest.mark.parametrize('''repo_id'''			,							['''canonical_dataset_name''', '''org-name/dataset-name''']				)
@pytest.mark.parametrize('''path'''			,							['''filename.csv''', '''filename with blanks.csv''']				)
@pytest.mark.parametrize('''revision'''			,							[None, '''v2''']				)
def 							SCREAMING_SNAKE_CASE_	(					UpperCAmelCase_	:     Union[str, Any]			,							UpperCAmelCase_	:     Union[str, Any]			,							UpperCAmelCase_	:     Union[str, Any]				)			->						List[Any]:
       SCREAMING_SNAKE_CASE_							:				int		=hf_hub_url(repo_id=UpperCAmelCase_			,							path=UpperCAmelCase_			,							revision=UpperCAmelCase_				)
       assert url == f'https://huggingface.co/datasets/{repo_id}/resolve/{revision or "main"}/{quote(UpperCAmelCase_				)}'


def 							SCREAMING_SNAKE_CASE_	(					UpperCAmelCase_	:     int = 1_0_0_0				)			->						int:
       SCREAMING_SNAKE_CASE_							:				int		=2**power
       SCREAMING_SNAKE_CASE_							:				Tuple		=0
       while n:
              SCREAMING_SNAKE_CASE_	,     SCREAMING_SNAKE_CASE_							:				Union[str, Any]		=r + n % 1_0, n // 1_0
       return r


if __name__ == "__main__":
 print(solution(int(str(input()).strip())))
