





'''simple docstring'''

def 						UpperCamelCase    (							_lowerCamelCase : int = 1_00_00_00	):
    A__    =      set(range(3						,	_lowerCamelCase						,	2	)	)
    primes.add(2	)
    for p in range(3						,	_lowerCamelCase						,	2	):
        if p not in primes:
            continue
        primes.difference_update(set(range(p * p						,	_lowerCamelCase						,	_lowerCamelCase	)	)	)

    A__    =      [float(_lowerCamelCase	) for n in range(limit + 1	)]

    for p in primes:
        for n in range(_lowerCamelCase						,	limit + 1						,	_lowerCamelCase	):
            phi[n] *= 1 - 1 / p

    return int(sum(phi[2:]	)	)


if __name__ == "__main__":
  print(f"""{solution() = }""")










'''simple docstring'''

import qiskit





def 						UpperCamelCase    (							_lowerCamelCase : int						,	_lowerCamelCase : int	):
    A__    =      qiskit.Aer.get_backend("aer_simulator"	)

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

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

    # Execute the circuit on the simulator
    A__    =      qiskit.execute(_lowerCamelCase						,	_lowerCamelCase						,	shots=10_00	)

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


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



