import json
import logging
import os
import subprocess
from argparse import ArgumentParser


lowerCAmelCase__  	=      logging.getLogger(__name__)

def 	__lowerCamelCase							(				)      ->       int:
	_lowercase   =ArgumentParser()
	_lowercase   ,  _lowercase   =parser.parse_known_args()
	for arg in unknown:
		if arg.startswith(("-", "--")		):
			parser.add_argument(arg.split("="		)[0]		)

	return parser.parse_args()

def 	__lowerCamelCase							(				)      ->       str:
	_lowercase   =parse_args()
	_lowercase   =8_888
	_lowercase   =int(os.environ["SM_NUM_GPUS"]		)
	_lowercase   =json.loads(os.environ["SM_HOSTS"]		)
	_lowercase   =len(__a		)
	_lowercase   =os.environ["SM_CURRENT_HOST"]
	_lowercase   =hosts.index(__a		)
	_lowercase   ="INFO"

	if num_nodes > 1:
		_lowercase   =f'''python -m torch.distributed.launch \
                --nnodes={num_nodes}  \
                --node_rank={rank}  \
                --nproc_per_node={num_gpus}  \
                --master_addr={hosts[0]}  \
                --master_port={port} \
                ./run_glue.py \
                {''.join(['nested fstring' for parameter,value in args.__dict__.items()]		)}'''
	else:
		_lowercase   =f'''python -m torch.distributed.launch \
            --nproc_per_node={num_gpus}  \
            ./run_glue.py \
            {''.join(['nested fstring' for parameter,value in args.__dict__.items()]		)}'''
	try:
		subprocess.run(__a      ,							shell=__a		)
	except Exception as e:
		logger.info(__a		)


if __name__ == "__main__":
						main()









from math import floor, sqrt





def 	__snake_case      (     _UpperCAmelCase							):
    __a					=							0.0
    __a					=							1.0
    __a					=							int(sqrt(_UpperCAmelCase							)							)
    __a					=							root
    __a					=							0
    while integer_part != 2 * root:
        __a					=							denominator * integer_part - numerator
        __a					=							(n - numerator**2) / denominator
        __a					=							int((root + numerator) / denominator							)
        period += 1
    return period





def 	__snake_case      (     _UpperCAmelCase = 10000							):
    __a					=							0
    for i in range(2  ,					n + 1							):
        __a					=							sqrt(_UpperCAmelCase							)
        if sr - floor(_UpperCAmelCase							) != 0 and continuous_fraction_period(_UpperCAmelCase							) % 2 == 1:
            count_odd_periods += 1
    return count_odd_periods


if __name__ == "__main__":
 print(f'{solution(int(input().strip()))}')





