





import os
import time

import numpy as np
import onnxruntime as ort


UpperCAmelCase__						:			Optional[int]									='''1'''
UpperCAmelCase__						:			int									='''0'''
UpperCAmelCase__						:			Tuple									='''1'''

UpperCAmelCase__						:			Optional[Any]									=ort.SessionOptions()
UpperCAmelCase__						:			Any									=ort.GraphOptimizationLevel.ORT_DISABLE_ALL
print('''Create inference session...''')
UpperCAmelCase__						:			str									=['''TensorrtExecutionProvider''', '''CUDAExecutionProvider''']
UpperCAmelCase__						:			Tuple									=ort.InferenceSession('''model.onnx''', sess_options=sess_opt, providers=execution_provider)
UpperCAmelCase__						:			str									=ort.RunOptions()

UpperCAmelCase__						:			List[Any]									=1_28
UpperCAmelCase__						:			str									=1
UpperCAmelCase__						:			Tuple									=np.ones((batch, sequence), dtype=np.intaa)
UpperCAmelCase__						:			Tuple									=np.ones((batch, sequence), dtype=np.intaa)
UpperCAmelCase__						:			List[str]									=np.ones((batch, sequence), dtype=np.intaa)

print('''Warm up phase...''')
sess.run(
    None,
    {
        sess.get_inputs()[0].name: input_ids,
        sess.get_inputs()[1].name: attention_mask,
        sess.get_inputs()[2].name: token_type_ids,
    },
    run_options=run_opt,
)

print('''Start inference...''')
UpperCAmelCase__						:			Dict									=time.time()
UpperCAmelCase__						:			Optional[Any]									=20_00
UpperCAmelCase__						:			Optional[int]									={}
for iter in range(max_iters):
							UpperCAmelCase__						:			Dict									=sess.run(
							    None,
							    {
							        sess.get_inputs()[0].name: input_ids,
							        sess.get_inputs()[1].name: attention_mask,
							        sess.get_inputs()[2].name: token_type_ids,
							    },
							    run_options=run_opt,
							)
print('''Average Inference Time = {:.3f} ms'''.format((time.time() - start_time) * 10_00 / max_iters))












from math import sqrt





def      _lowercase					(						_UpperCAmelCase				)						->  int:
				lowerCamelCase	 =0
				for i in range(1			,      int(sqrt(_UpperCAmelCase				) + 1				)				):
								if n % i == 0 and i != sqrt(_UpperCAmelCase				):
												total += i + n // i
								elif i == sqrt(_UpperCAmelCase				):
												total += i
				return total - n





def      _lowercase					(						_UpperCAmelCase = 1_00_00				)						->  int:
				lowerCamelCase	 =sum(
				    i
				    for i in range(1			,      _UpperCAmelCase				)
				    if sum_of_divisors(sum_of_divisors(_UpperCAmelCase				)				) == i and sum_of_divisors(_UpperCAmelCase				) != i				)
				return total


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





