


"""simple docstring"""






import qiskit


def __lowercase     (      lowerCamelCase_  :      int						,					lowerCamelCase_  :      int  ):
				SCREAMING_SNAKE_CASE__     							=				qiskit.Aer.get_backend("aer_simulator"  )

				# Create a Quantum Circuit acting on the q register
				SCREAMING_SNAKE_CASE__     							=				qiskit.QuantumCircuit(lowerCamelCase_						,					lowerCamelCase_  )

				# Apply X (NOT) Gate to Qubits 0 & 1
				circuit.x(0  )
				circuit.x(1  )

				# Map the quantum measurement to the classical bits
				circuit.measure([0, 1]						,					[0, 1]  )

				# Execute the circuit on the qasm simulator
				SCREAMING_SNAKE_CASE__     							=				qiskit.execute(lowerCamelCase_						,					lowerCamelCase_						,					shots=1000  )

				# Return the histogram data of the results of the experiment.
				return job.result().get_counts(lowerCamelCase_  )


if __name__ == "__main__":
	_lowerCamelCase     =  single_qubit_measure(2, 2)
	print(f"""Total count for various states are: {counts}""")




"""simple docstring"""






from math import sqrt


def __lowercase     (      lowerCamelCase_  :      int  ):
				SCREAMING_SNAKE_CASE__     							=				0
				for i in range(1						,					int(sqrt(lowerCamelCase_  ) + 1  )  ):
								if n % i == 0 and i != sqrt(lowerCamelCase_  ):
												total += i + n // i
								elif i == sqrt(lowerCamelCase_  ):
												total += i
				return total - n


def __lowercase     (      lowerCamelCase_  :      int = 10000  ):
				SCREAMING_SNAKE_CASE__     							=				sum(
				    i
				    for i in range(1						,					lowerCamelCase_  )
				    if sum_of_divisors(sum_of_divisors(lowerCamelCase_  )  ) == i and sum_of_divisors(lowerCamelCase_  ) != i  )
				return total


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