

import qiskit





def 	__a     (      A__			:  int = 2       ):
    SCREAMING_SNAKE_CASE										=   qubits

    # Using Aer's simulator
    SCREAMING_SNAKE_CASE										=   qiskit.Aer.get_backend("aer_simulator"       )

    # Creating a Quantum Circuit acting on the q register
    SCREAMING_SNAKE_CASE										=   qiskit.QuantumCircuit(A__			,  A__       )

    # Adding a H gate on qubit 0 (now q0 in superposition)
    circuit.h(0       )

    for i in range(1			,  A__       ):
        # Adding CX (CNOT) gate
        circuit.cx(i - 1			,  A__       )

    # Mapping the quantum measurement to the classical bits
    circuit.measure(list(range(A__       )       )			,  list(range(A__       )       )       )

    # Now measuring any one qubit would affect other qubits to collapse
    # their super position and have same state as the measured one.

    # Executing the circuit on the simulator
    SCREAMING_SNAKE_CASE										=   qiskit.execute(A__			,  A__			,  shots=1000       )

    return job.result().get_counts(A__       )


if __name__ == "__main__":
    print(f'Total count for various states are: {quantum_entanglement(3)}')





'''simple docstring'''





from math import factorial





def       __a      (  _UpperCamelCase:       int = 100       )		->					int:

     """simple docstring"""




     return sum(map(_UpperCamelCase   ,		str(factorial(_UpperCamelCase       )       )       )       )


if __name__ == "__main__":
   print(solution(int(input('''Enter the Number: ''').strip())))


