Performance Management: A Qiskit Function by Q-CTRL Fire Opal
Qiskit Functions are an experimental feature available only to IBM Quantum™ Premium Plan users. They are in preview release status and subject to change.
Overview
Fire Opal Performance Management makes it simple for anyone to achieve meaningful results from quantum computers at scale without needing to be quantum hardware experts. When running circuits with Fire Opal Performance Management, AI-driven error suppression techniques are automatically applied, enabling the scaling of larger problems with more gates and qubits. This approach reduces the number of shots required to reach the correct answer, with no added overhead — resulting in significant savings in both compute time and cost.
Performance Management suppresses errors and increases the probability of getting the correct answer on noisy hardware. In other words, it increases the signal-to-noise ratio. The following image shows how increased accuracy enabled by Performance Management can reduce the need for additional shots in the case of a 10-qubit Quantum Fourier Transform algorithm. With only 30 shots, Q-CTRL reaches the 99% confidence threshold, whereas the default (QiskitRuntime
Sampler, optimization_level
=3 and resilience_level
=1, ibm_sherbrooke
) requires 170,000 shots. By getting the right answer faster, you save significant compute runtime.
The Performance Management function can be used with any algorithm, and you can easily use it in place of the standard Qiskit Runtime primitives. Behind the scenes, multiple error suppression techniques work together to prevent errors from happening at runtime. All Fire Opal pipeline methods are pre-configured and algorithm-agnostic, meaning you always get the best performance out of the box.
To get access to Performance Management, contact Q-CTRL.
Description
Fire Opal Performance Management has two options for execution that are similar to the Qiskit Runtime primitives, so you can easily swap in the Q-CTRL Sampler and Estimator. The general workflow for using the Performance Management function is:
- Define your circuit (and operators in the case of the Estimator).
- Run the circuit.
- Retrieve the results.
To reduce hardware noise, Fire Opal employs a range of AI-driven error suppression techniques depicted in the following image. With Fire Opal, the entire pipeline is completely automated with zero need for configuration.
Fire Opal's pipeline eliminates the need for additional overhead, such as increased quantum runtime or extra physical qubits. Note that classical processing time remains a factor (refer to the Benchmarks section for estimates, where "Total time" reflects both classical and quantum processing). In contrast to error mitigation, which requires overhead in the form of sampling, Fire Opal's error suppression works at both the gate and pulse levels to address various sources of noise and to prevent the likelihood of an error occurring. By preventing errors, the need for expensive post-processing is eliminated.
The following image depicts the error suppression methods automated by Fire Opal Performance Management.
The function offers two primitives, Sampler and Estimator, and the inputs and outputs of both extend the implemented spec for Qiskit Runtime V2 primitives.
Benchmarks
Published algorithmic benchmarking results demonstrate significant performance improvement across various algorithms, including Bernstein-Vazirani, quantum Fourier transform, Grover’s search, quantum approximate optimization algorithm, and variational quantum eigensolver. The rest of this section provides more details about types of algorithms you can run, as well as the expected performance and runtimes.
The following independent studies demonstrate how Q-CTRL's Performance Management enables algorithmic research at record-breaking scale:
- Parametrized Energy-Efficient Quantum Kernels for Network Service Fault Diagnosis - up to 50-qubit quantum kernel learning
- Tensor-based quantum phase difference estimation for large-scale demonstration - up to 33-qubit quantum phase estimation
- Hierarchical Learning for Quantum ML: Novel Training Technique for Large-Scale Variational Quantum Circuits - up to 21-qubit quantum data loading
The following table provides a rough guide on accuracy and runtimes from prior benchmarking runs on ibm_fez
. Performance on other devices may vary. The usage time is based on an assumption of 10,000 shots per circuit. The "Number of qubits" indicated is not a hard limitation but represents rough thresholds where you can expect extremely consistent solution accuracy. Larger problem sizes have been successfully solved, and testing beyond these limits is encouraged.
Example | Number of qubits | Accuracy | Measure of accuracy | Total time (s) | Runtime usage (s) | Primitive (Mode) |
---|---|---|---|---|---|---|
Bernstein–Vazirani | 50Q | 100% | Success Rate (Percentage of runs where the correct answer is the highest count bitstring) | 10 | 8 | Sampler |
Quantum Fourier Transform | 30Q | 100% | Success Rate (Percentage of runs where the correct answer is the highest count bitstring) | 10 | 8 | Sampler |
Quantum Phase Estimation | 30Q | 99.9998% | Accuracy of the angle found: 1- abs(real_angle - angle_found)/pi | 10 | 8 | Sampler |
Quantum simulation: Ising model (15 steps) | 20Q | 99.775% | (defined below) | 60 (per step) | 15 (per step) | Estimator |
Quantum simulation 2: molecular dynamics (20 time points) | 34Q | 96.78% | (defined below) | 10 (per time point) | 6 (per time point) | Estimator |
Defining the accuracy of the measurement of an expectation value - the metric is defined as follows:
where = ideal expectation value, = measured expectation value, = ideal maximum value, and = ideal minimum value. is simply the average of the value of across multiple measurements.
This metric is used because it is invariant to global shifts and scaling in the range of attainable values. In other words, regardless of whether you shift the range of possible expectation values higher or lower or increase the spread, the value of should remain consistent.
Get started
Authenticate using your IBM Quantum Platform API token, and select the Qiskit Function as follows:
from qiskit_ibm_catalog import QiskitFunctionsCatalog
# If you have not previously saved your credentials, follow instructions at
# https://docs.quantum.ibm.com/guides/functions
# to authenticate with your API token.
catalog = QiskitFunctionsCatalog()
# Access Function
perf_mgmt = catalog.load("q-ctrl/performance-management")
Estimator primitive
Estimator example
Use Fire Opal Performance Management's Estimator primitive to determine the expectation value of a single circuit-observable pair.
In addition to the qiskit-ibm-catalog
and qiskit
packages, you will also use the numpy
package to run this example. You can install this package by uncommenting the following cell if you are running this example in a notebook using the IPython kernel.
# %pip install numpy
1. Create the circuit
As an example, generate a random Hermitian operator and an observable to input to the Performance Management function.
import numpy as np
from qiskit.circuit.library import IQP
from qiskit.quantum_info import random_hermitian, SparsePauliOp
n_qubits = 50
# Generate a random circuit
mat = np.real(random_hermitian(n_qubits, seed=1234))
circuit = IQP(mat)
circuit.measure_all()
# Define observables as a string
observable = SparsePauliOp("Z" * n_qubits)
# Create PUB tuple
estimator_pubs = [(circuit, observable)]
2. Run the circuit
Run the circuit and optionally define the backend and number of shots.
# Run the circuit using the estimator
qctrl_estimator_job = perf_mgmt.run(
primitive="estimator",
pubs=estimator_pubs,
instance=instance, # E.g. "ibm-q/open/main"
backend_name=backend_name, # E.g. "ibm_kyiv", or omit to default to the least busy device
)
You can use the familiar Qiskit Serverless APIs to check your Qiskit Function workload's status:
qctrl_estimator_job.status()
Output:
'QUEUED'
3. Retrieve the result
# Retrieve the counts from the result list
result = qctrl_estimator_job.result()
The results have the same format as an Estimator result:
print(
f"The result of the submitted job had {len(result)} PUB and has a value:\n {result}\n"
)
print(
f"The associated PubResult of this job has the following DataBins:\n {result[0].data}\n"
)
print(f"And this DataBin has attributes: {result[0].data.keys()}")
print(
f"The expectation values measured from this PUB are: \n{result[0].data.evs}"
)
Output:
The result of the submitted job had 1 PUB and has a value:
PrimitiveResult([PubResult(data=DataBin(evs=0.018, stds=0.9998379868758738), metadata={'precision': None})], metadata={})
The associated PubResult of this job has the following DataBins:
DataBin(evs=0.018, stds=0.9998379868758738)
And this DataBin has attributes: dict_keys(['evs', 'stds'])
The expectation values measured from this PUB are:
0.018
Estimator inputs
Name | Type | Description | Required | Default | Example |
---|---|---|---|---|---|
pubs | QctrlEstimatorPubLike or list[QctrlEstimatorPubLike] | One or more tuples containing the inputs listed under EstimatorPubLike components | Yes | N/A | (circuit, observables, parameter_values) |
instance | str | The hub/group/project to use in that format | No | A Premium access instance is randomly chosen if your account has access to multiple instances | "hub1/group1/project1" |
backend_name | str | The name of the backend | No | The least busy backend that your instance has access to | "ibm_fez" |
options | dict | Input options; see Options section for more details | No | See the Options section for details | {"default_shots": 2048} |
QctrlEstimatorPubLike
components (derived from the Qiskit Runtime PUB definition):
- A single circuit defined as a
QuantumCircuit
or in OpenQASM 2.0 or 3.0 string format. - One or more observables that specify the expectation values to estimate, in any of the formats denoted in the list "Supported observables formats".
- (Optional) A collection of parameter values to bind the circuit against, which follow the same array broadcasting rules as the
QiskitRuntime
primitives. - (Optional) A target precision for expectation values to estimate.
- (Optional) A real number representing the precision, or a dictionary of run options containing the shot count. For example:
{"shots": <int>}
.
Supported observables formats:
- Any one of the
ObservablesArrayLike
formats, such asPauli
,SparsePauliOp
,PauliList
, orstr
- A Pauli string:
"XY"
- A dictionary - Pauli strings with coefficients:
{"XY": 0.5, "YZ": 0.3}
- A list of Pauli strings:
["XY", "YZ", "ZX"]
- A list of Pauli strings with coefficients:
[("XY", 0.5), ("YZ", 0.3)]
- A nested list of Pauli strings:
[["XY", "YZ"], ["ZX", "XX"]]
- A nested list of Pauli strings with coefficients:
[[("XY", 0.1), ("YZ", 0.2)], [("ZX", 0.3), ("XX", 0.4)]]
Supported backends: The following list of backends are currently supported. If your device is not listed, reach out to Q-CTRL to add support.
- ibm_brisbane
- ibm_brussels
- ibm_cleveland
- ibm_fez
- ibm_kawasaki
- ibm_kyiv
- ibm_nazca
- ibm_quebec
- ibm_rensselaer
- ibm_sherbrooke
- ibm_strasbourg
- ibm_torino
Options:
Name | Type | Description | Default |
---|---|---|---|
session_id | str | An existing Qiskit Runtime session ID | "cw4r3je6f0t010870y3g" |
default_shots | int | The number of shots to use for each circuit | 2048 |
default_precision | float | The target precision for expectation values to estimate for each circuit | 0.015625 |
job_tags | list[str] | A list of job tags | [] |
Estimator outputs
Name | Type | Description | Example |
---|---|---|---|
N/A | PrimitiveResult | The PrimitiveResult corresponding to the list of input PUBs | PubResult(data=DataBin(evs=[0.1234], stds=[0.1])) |
Sampler primitive
Sampler example
Use Fire Opal Performance Management's Sampler primitive to run a Bernstein–Vazirani circuit. This algorithm, used to find a hidden string from the outputs of a black box function, is a common benchmarking algorithm because there is a single correct answer.
1. Create the circuit
Define the correct answer to the algorithm, the hidden bitstring, and the Bernstein–Vazirani circuit. You can adjust the width of the circuit by simply changing the circuit_width
.
import qiskit
circuit_width = 35
hidden_bitstring = "1" * circuit_width
# Create circuit, reserving one qubit for BV oracle
bv_circuit = qiskit.QuantumCircuit(circuit_width + 1, circuit_width)
bv_circuit.x(circuit_width)
bv_circuit.h(range(circuit_width + 1))
for input_qubit, bit in enumerate(reversed(hidden_bitstring)):
if bit == "1":
bv_circuit.cx(input_qubit, circuit_width)
bv_circuit.barrier()
bv_circuit.h(range(circuit_width + 1))
bv_circuit.barrier()
for input_qubit in range(circuit_width):
bv_circuit.measure(input_qubit, input_qubit)
# Create PUB tuple
sampler_pubs = [(bv_circuit,)]
2. Run the circuit
Run the circuit and optionally define the backend and number of shots.
# Run the circuit using the sampler
qctrl_sampler_job = perf_mgmt.run(
primitive="sampler",
pubs=sampler_pubs,
instance=instance, # E.g. "ibm-q/open/main"
backend_name=backend_name, # E.g. "ibm_kyiv", or omit to default to the least busy device
)
Check your Qiskit Function workload's status or return results as follows:
qctrl_sampler_job.status()
Output:
'QUEUED'
3. Retrieve the result
# Retrieve the job results
sampler_result = qctrl_sampler_job.result()
# Get results for the first (and only) PUB
pub_result = sampler_result[0]
counts = pub_result.data.c.get_counts()
print(f"Counts for the meas output register: {counts}")
Output:
Counts for the meas output register: {'00000000000000000000000000000001111': 1, '00000000000000000000000000000101011': 1, '00000000000000000000000000010001011': 2, '00000000000000000000000000010111111': 1, '00000000000000000000000000100111111': 1, '00000000000000000000000000111111001': 1, '00000000000000000000000001011101111': 1, '00000000000000000000000001101011111': 2, '00000000000000000000000001111111111': 1, '00000000000000000000000010001100011': 1, '00000000000000000000000010010111111': 1, '00000000000000000000000010011011111': 1, '00000000000000000000000011111011111': 1, '00000000000000000000000011111111111': 3, '00000000000000000000000101001111101': 1, '00000000000000000000000101110110111': 1, '00000000000000000000000110111010101': 1, '00000000000000000000000110111111111': 1, '00000000000000000000000111011011111': 1, '00000000000000000000000111101110111': 1, '00000000000000000000000111110001101': 1, '00000000000000000000000111111110101': 1, '00000000000000000000000111111110111': 1, '00000000000000000000001000001111101': 1, '00000000000000000000001000010111111': 1, '00000000000000000000001001000100111': 1, '00000000000000000000001001011011111': 2, '00000000000000000000001001101111111': 1, '00000000000000000000001001110110111': 1, '00000000000000000000001011000111111': 1, '00000000000000000000001011011110101': 1, '00000000000000000000001101111111111': 1, '00000000000000000000001111011111111': 1, '00000000000000000000001111110010111': 1, '00000000000000000000001111111111101': 1, '00000000000000000000010011111111111': 1, '00000000000000000000011001111111110': 2, '00000000000000000000100000000000001': 2, '00000000000000000000100000100101011': 1, '00000000000000000000100111111111111': 1, '00000000000000000000101011111111111': 1, '00000000000000000000101111010111111': 1, '00000000000000000000101111011111111': 1, '00000000000000000000101111111011111': 1, '00000000000000000001000111111110111': 1, '00000000000000000001101001111011101': 1, '00000000000000000001101111001010101': 1, '00000000000000000001111011001110111': 1, '00000000000000000001111111001001101': 2, '00000000000000000001111111111111111': 2, '00000000000000000010000000000101011': 1, '00000000000000000010000000011111011': 2, '00000000000000000010000001100100001': 1, '00000000000000000011101001110111111': 1, '00000000000000000100000000000001001': 1, '00000000000000000100000000000001111': 1, '00000000000000000100001010010110111': 1, '00000000000000000100010001011011111': 1, '00000000000000000100101111100110111': 1, '00000000000000000100110111111111111': 1, '00000000000000000100111111001011111': 1, '00000000000000000101000000010001011': 1, '00000000000000000101000001001001111': 1, '00000000000000001000000000011111111': 1, '00000000000000001000001001011111111': 1, '00000000000000001000110000000010011': 2, '00000000000000001000111100111111111': 2, '00000000000000001000111111111011111': 2, '00000000000000001010111101011111011': 2, '00000000000000001011111111111111111': 1, '00000000000000001101101011111111111': 1, '00000000000000001110001111111011101': 1, '00000000000000001111111111111111101': 1, '00000000000000001111111111111111111': 1, '00000000000000010000000010000101011': 1, '00000000000000010000000100000111111': 1, '00000000000000010000001110111111111': 1, '00000000000000010000100000000001111': 1, '00000000000000010101110111111011111': 1, '00000000000000011000000110111111111': 1, '00000000000000011000001010000100011': 1, '00000000000000011001010011111101111': 2, '00000000000000100000000111111111111': 1, '00000000000000100000001110000111110': 1, '00000000000000101000111111011101110': 2, '00000000000000101100000001001000011': 1, '00000000000000101101101111111111111': 1, '00000000000001000000000001011110111': 1, '00000000000001000000000010000001011': 1, '00000000000001000000001010110000111': 1, '00000000000001000000001011011111111': 1, '00000000000001000000001011101110111': 1, '00000000000001000000010000000100111': 2, '00000000000001000000101111101111101': 1, '00000000000001000001111101111110110': 2, '00000000000001000001111111101111011': 2, '00000000000001000011001000000100011': 1, '00000000000001000011111111111111011': 2, '00000000000001001100101111111111111': 1, '00000000000001001111001111011011101': 1, '00000000000001010011111111111011110': 2, '00000000000001011100100011011010011': 1, '00000000000001100000000000000000101': 1, '00000000000001100000000010000110110': 1, '00000000000001100010100011011111111': 1, '00000000000001100011011111111011111': 2, '00000000000001100111110111001110111': 1, '00000000000001110000000010111111111': 1, '00000000000001111111011111101111111': 1, '00000000000001111111101111110111101': 1, '00000000000001111111110110100100111': 1, '00000000000001111111110111100011111': 1, '00000000000010000000000101111111111': 1, '00000000000010000000100011110101111': 1, '00000000000010000011101011111111111': 1, '00000000000010000011101111011111111': 1, '00000000000010001111110111101111111': 1, '00000000000010101101101110111111101': 1, '00000000000010111111111111111011101': 1, '00000000000011000001111011111000111': 2, '00000000000011010000000001011011111': 1, '00000000000011011111111111111111011': 1, '00000000000011111100110101111011111': 1, '00000000000011111111010110001111111': 1, '00000000000100000000000011111111111': 4, '00000000000100000000000100000001101': 1, '00000000000100000000000100000001111': 2, '00000000000100000000000101001111111': 1, '00000000000100000000001010000100111': 1, '00000000000100000000010000111101001': 2, '00000000000100000001000000000111101': 1, '00000000000100000010010011011111111': 2, '00000000000100000100001000000011111': 1, '00000000000100000100001000000100011': 1, '00000000000100000101011111111010111': 1, '00000000000100000111111111111111101': 1, '00000000000100011110110111011111111': 1, '00000000000101000000000100111111111': 1, '00000000000101100000000000100001111': 1, '00000000000110000000000010111111111': 1, '00000000000110111111110111101111100': 1, '00000000000110111111111111111110111': 1, '00000000000111111111111111111111110': 1, '00000000001000000001000100000111111': 1, '00000000001000101111011010001011111': 1, '00000000001001011011100111111101101': 1, '00000000001010111111011111111111111': 1, '00000000001011001111111111111111011': 1, '00000000001101111111101111011111101': 1, '00000000001110010100111111111011101': 1, '00000000001110111111111111111111111': 1, '00000000001111010111111111111111101': 1, '00000000001111011000111111111111101': 1, '00000000001111111011111111111001001': 1, '00000000001111111111011111111110111': 1, '00000000001111111111111111111101101': 1, '00000000010000000000000000001111111': 1, '00000000010000000000000010010000001': 1, '00000000010000000000000011001111111': 1, '00000000010000000000001010000000001': 1, '00000000010000000000001010111111111': 1, '00000000010000000000001110101111111': 1, '00000000010000000001010000000010100': 1, '00000000010000000010000110011111111': 1, '00000000010000000010010100010101111': 2, '00000000010000000011111111111101111': 1, '00000000010000000101111111111111111': 1, '00000000010000001100000010000100010': 1, '00000000010000001111111111111110100': 1, '00000000010000010000101100000000101': 1, '00000000010000010100000001000111111': 1, '00000000010000100000000001011111111': 1, '00000000010000100001000010001011110': 1, '00000000010000100101100000010000001': 1, '00000000010000101101111111111100111': 1, '00000000010000111111111111111110101': 1, '00000000010001000000000111111111001': 1, '00000000010001000000001000000011111': 1, '00000000010001001111100111111111111': 1, '00000000010001010001000001101111111': 1, '00000000010001011111101111111111101': 1, '00000000010001110010000000001111111': 1, '00000000010011111110110110111111110': 1, '00000000010100000000001101111111111': 1, '00000000010100100000000010001111111': 1, '00000000010101000000011110111101101': 1, '00000000011011111111111110011110111': 1, '00000000011100111111111010111111101': 1, '00000000011101000100001111111010101': 1, '00000000011110111011011111111111111': 1, '00000000011110111011111111111111111': 1, '00000000011111011101111001111111111': 1, '00000000011111111011111111011111111': 1, '00000000011111111111010111111011111': 1, '00000000011111111111111111111111111': 4, '00000000100000000000000000000010000': 2, '00000000100000000000000001111111111': 1, '00000000100000000000000011111111111': 1, '00000000100000000000000111100111110': 1, '00000000100000000000000111101111111': 1, '00000000100000000000001000000111101': 2, '00000000100000000000001000001111001': 2, '00000000100000000000001101001101111': 2, '00000000100000000000100011001110101': 1, '00000000100000000000100111011011111': 2, '00000000100000000000111111011011101': 2, '00000000100000000001000111101011111': 2, '00000000100000000001000111111111111': 1, '00000000100000000001001010100100110': 2, '00000000100000000001101111001110111': 1, '00000000100000000001111111101111101': 2, '00000000100000000010111111111111111': 2, '00000000100000000011000001111111110': 2, '00000000100000000011110101011111111': 2, '00000000100000000011111111101110111': 2, '00000000100000000100000011111011100': 2, '00000000100000000100000100000011111': 2, '00000000100000000101010111111011111': 2, '00000000100000000110000000100011111': 2, '00000000100000000111101101111111110': 2, '00000000100000000111101111101111111': 1, '00000000100000001001000101011111111': 2, '00000000100000001011111111101011111': 2, '00000000100000001111111111011110011': 1, '00000000100000001111111111111101111': 1, '00000000100000011000011011101111111': 2, '00000000100000011111111111111111101': 1, '00000000100000100000001111111111111': 1, '00000000100000100000100001010001001': 2, '00000000100000100010000111101110111': 1, '00000000100000101110111111111101111': 1, '00000000100001000000000001110111111': 2, '00000000100001000000000011101111111': 1, '00000000100001000000000111011111111': 2, '00000000100001000010011001011111111': 2, '00000000100001000100000101011011111': 2, '00000000100001001101011111110111111': 1, '00000000100001011011111111111011101': 2, '00000000100010000000101110000111111': 2, '00000000100010010111111011011111111': 1, '00000000100010100000001101111110101': 2, '00000000100011111101110111111100111': 1, '00000000100011111101111101111111111': 1, '00000000100011111110111111111111101': 1, '00000000100100000000000111111011111': 2, '00000000100100000001101000001000001': 2, '00000000100100100000000001001110011': 1, '00000000100101001011101101111011111': 2, '00000000100101111110000001110011111': 2, '00000000100110000000001100101110111': 2, '00000000100111111111010111111111111': 1, '00000000101000000000000011011101100': 1, '00000000101000000000000111011111110': 2, '00000000101000000000001111101111111': 1, '00000000101000000000001111111111110': 2, '00000000101100000000000001011110111': 2, '00000000101111111011111111111111111': 2, '00000000101111111111110111101110111': 1, '00000000110000000000000000000000101': 2, '00000000110000000000000000010001011': 2, '00000000110000000000000001110111111': 1, '00000000110000000000000011111111111': 1, '00000000110000000000000111011111111': 1, '00000000110000000001010011111111110': 2, '00000000110000001000000111011110101': 1, '00000000110000001000100111111111111': 1, '00000000110000010000000001000000001': 1, '00000000110000101001111111111111011': 2, '00000000110001000000001001101111111': 1, '00000000110001000000001011001100111': 1, '00000000110001000001000011110111111': 1, '00000000110001111111111111111101111': 1, '00000000110010000000001001111011101': 2, '00000000110100000101110011101111110': 1, '00000000110111011111100111101111101': 1, '00000000110111100111110111111111111': 1, '00000000111000000110111111111111101': 1, '00000000111100111011011111111111111': 1, '00000000111110111111001011111101111': 1, '00000000111110111111011111011110101': 1, '00000000111110111111111111011011111': 1, '00000000111110111111111111111111111': 1, '00000000111111011110111011111111111': 1, '00000000111111101111110111011111111': 1, '00000000111111101111111101101100111': 1, '00000000111111110111111001111111111': 1, '00000000111111111010110111111111110': 1, '00000000111111111010111111111111111': 1, '00000000111111111011110011110101111': 1, '00000000111111111101011101111111111': 1, '00000000111111111110011111111111111': 1, '00000000111111111111011111111100111': 1, '00000000111111111111101101111011111': 1, '00000000111111111111101111101110111': 1, '00000000111111111111110011111110111': 1, '00000000111111111111111111101011111': 1, '00000000111111111111111111110011111': 1, '00000000111111111111111111111111111': 2, '00000001000000000000000000010000001': 1, '00000001000000000000011111111010101': 2, '00000001000000000101111111111111111': 1, '00000001000000001111111111011110101': 1, '00000001000000100000000000111111111': 1, '00000001000000100000000111111011111': 1, '00000001000001000000000110111111111': 1, '00000001000001000100000001111111111': 1, '00000001000001000100110101101111111': 1, '00000001000001001110101101011111111': 1, '00000001000100000100000001111111111': 1, '00000001000110111101011110111111111': 1, '00000001001010111111110001111011101': 1, '00000001001100011011111111111111111': 1, '00000001001110011111111111111011111': 1, '00000001001111011111111101101111101': 1, '00000001001111110111011100111101111': 1, '00000001001111110111111111011011111': 1, '00000001001111111101111110111110101': 1, '00000001001111111101111111101110111': 1, '00000001001111111111011111101011111': 1, '00000001001111111111101100110101011': 1, '00000001001111111111101111111010111': 1, '00000001001111111111101111111111111': 1, '00000001001111111111111011111111111': 1, '00000001001111111111111101101111111': 1, '00000001010000001010000011010101111': 1, '00000001010011011010111111111111111': 1, '00000001010111010111101111101111111': 1, '00000001010111111111110101101110111': 1, '00000001010111111111111111111011110': 1, '00000001011000000000000000000000000': 1, '00000001011010111111111111111011111': 1, '00000001011011011101111111111111111': 1, '00000001011011011111010011011111111': 1, '00000001011011100111111111111001101': 1, '00000001011011111011101111011111111': 1, '00000001011011111111011111111011111': 1, '00000001011011111111101111111011111': 1, '00000001011011111111111110111111111': 1, '00000001011100011111101101101111111': 1, '00000001011101011101111001101111111': 1, '00000001011101101111101110111111101': 1, '00000001011101111011111111101111101': 1, '00000001011101111011111111111111011': 1, '00000001011101111110111110111001001': 1, '00000001011101111111110111111011101': 1, '00000001011101111111111101011111111': 1, '00000001011110011011111111111111111': 1, '00000001011110101011111011111111101': 1, '00000001011110101111111111111101111': 1, '00000001011110110111111111111011111': 1, '00000001011110111001101111111111111': 1, '00000001011110111011011101111011011': 1, '00000001011110111110110111110111111': 1, '00000001011110111111001110111111111': 1, '00000001011110111111011110111101111': 1, '00000001011110111111011111111010111': 1, '00000001011110111111110111111011111': 1, '00000001011110111111111000000000001': 1, '00000001011110111111111100101110111': 1, '00000001011110111111111110100110111': 1, '00000001011110111111111111001011111': 1, '00000001011110111111111111111111111': 3, '00000001011111000000000001110111101': 1, '00000001011111001011101111111111111': 1, '00000001011111001111110011111111111': 1, '00000001011111010001111111111111101': 1, '00000001011111011110111111111111101': 1, '00000001011111011111010111011111011': 1, '00000001011111011111011111011111111': 1, '00000001011111011111111111111111011': 1, '00000001011111011111111111111111111': 2, '00000001011111101011101111101111110': 1, '00000001011111101111001101111101111': 1, '00000001011111101111110001101111111': 1, '00000001011111101111111111101011111': 1, '00000001011111110010111110101010101': 1, '00000001011111110011011110011011111': 1, '00000001011111110011111111111011111': 1, '00000001011111110101000001111011111': 1, '00000001011111111000111111111111111': 1, '00000001011111111010111111011111111': 1, '00000001011111111010111111111011101': 1, '00000001011111111011011001111111101': 1, '00000001011111111011101111111001111': 1, '00000001011111111011111101111111111': 1, '00000001011111111011111111111111011': 1, '00000001011111111101010001111111111': 1, '00000001011111111110111101111111110': 1, '00000001011111111111001000000111111': 1, '00000001011111111111010111111111111': 2, '00000001011111111111011111111011011': 1, '00000001011111111111101101011110111': 1, '00000001011111111111101101110111111': 1, '00000001011111111111101111111111101': 4, '00000001011111111111110011111001111': 1, '00000001011111111111110111111111111': 2, '00000001011111111111111001011111111': 1, '00000001011111111111111011010010111': 1, '00000001011111111111111011111011100': 1, '00000001011111111111111100011111111': 1, '00000001011111111111111100101111111': 1, '00000001011111111111111101011001111': 1, '00000001011111111111111101101111011': 1, '00000001011111111111111101110110011': 1, '00000001011111111111111101111010111': 1, '00000001011111111111111101111110110': 1, '00000001011111111111111111011011101': 1, '00000001011111111111111111011111111': 3, '00000001011111111111111111101011101': 1, '00000001011111111111111111101111111': 3, '00000001011111111111111111111001110': 1, '00000001011111111111111111111010110': 1, '00000001011111111111111111111011111': 3, '00000001011111111111111111111101111': 1, '00000001011111111111111111111110101': 2, '00000001011111111111111111111111101': 3, '00000001011111111111111111111111111': 17, '00000001100000000000010100000101111': 2, '00000001100000000000101001111110111': 2, '00000001100000000000111101111111111': 2, '00000001100000000010110000000000011': 3, '00000001100000000111111111111110111': 1, '00000001100000010001111011111111111': 2, '00000001100001001100111111111101111': 1, '00000001100001001101110011110111111': 1, '00000001100010010000101111011111111': 1, '00000001101011111111111111111010111': 1, '00000001101101111111001111101111101': 1, '00000001101101111111111111111100110': 1, '00000001101110111100111111111101111': 1, '00000001101110111111111110111110111': 1, '00000001101110111111111111111111111': 1, '00000001101111001111111111101011111': 1, '00000001101111011111110111111111101': 1, '00000001101111011111111111111011111': 1, '00000001101111101111110011001111101': 1, '00000001101111111110100111111111111': 1, '00000001101111111111101110101110111': 1, '00000001101111111111101111111011111': 1, '00000001101111111111110011111111111': 1, '00000001101111111111110111111011101': 1, '00000001101111111111110111111110011': 1, '00000001101111111111111011111100111': 1, '00000001101111111111111111100001111': 1, '00000001101111111111111111111010111': 1, '00000001101111111111111111111111011': 1, '00000001101111111111111111111111101': 1, '00000001101111111111111111111111110': 1, '00000001110000000000000011101111101': 1, '00000001110000000000001011100100011': 1, '00000001110000100000000001111111111': 1, '00000001110000100000101110111111111': 1, '00000001110110101111111111111111111': 1, '00000001110111011111100111011111101': 1, '00000001110111101101111111001111111': 1, '00000001110111111110111111111111111': 1, '00000001110111111111111111001111111': 1, '00000001110111111111111111101111101': 1, '00000001110111111111111111111111111': 1, '00000001111010111111111111101101111': 1, '00000001111010111111111111111111000': 1, '00000001111011011101000111011111101': 1, '00000001111011011111101111111111111': 1, '00000001111011101111111111111111111': 1, '00000001111011111011111111101000111': 2, '00000001111011111101111111111110111': 1, '00000001111011111111101111111110111': 1, '00000001111011111111110101011111011': 1, '00000001111011111111110111111100111': 1, '00000001111011111111111110111011111': 1, '00000001111011111111111111101101111': 1, '00000001111011111111111111111011110': 1, '00000001111011111111111111111101111': 1, '00000001111100111111111111111111111': 1, '00000001111101010111001111111101111': 1, '00000001111101101001101101111110111': 1, '00000001111101101111111111111011111': 1, '00000001111101111011111101101111100': 2, '00000001111101111101111011011110001': 1, '00000001111101111111011111100111111': 1, '00000001111101111111101111001101111': 1, '00000001111101111111110111100111111': 1, '00000001111101111111111001101111111': 1, '00000001111101111111111110011111011': 1, '00000001111101111111111111011111101': 1, '00000001111101111111111111011111111': 1, '00000001111110010100000011011110111': 1, '00000001111110011111110001111111111': 1, '00000001111110011111110101111100111': 1, '00000001111110011111111011110010111': 1, '00000001111110101100111111111111111': 1, '00000001111110101101110100111111111': 1, '00000001111110101111111111111111101': 1, '00000001111110110110100101100101110': 1, '00000001111110110110111011101111111': 1, '00000001111110110111011111011011111': 1, '00000001111110110111011111111111111': 1, '00000001111110110111111111011110111': 1, '00000001111110111010111111111111111': 1, '00000001111110111011110111111111101': 1, '00000001111110111101011111111110111': 1, '00000001111110111101111110000100001': 1, '00000001111110111110010110000010110': 1, '00000001111110111110110011111111111': 1, '00000001111110111110111111011101101': 1, '00000001111110111110111111011101111': 1, '00000001111110111111011111011010111': 1, '00000001111110111111101111011110111': 1, '00000001111110111111101111110111011': 1, '00000001111110111111110101110111111': 1, '00000001111110111111110101111110111': 1, '00000001111110111111110111110110111': 1, '00000001111110111111110111110111011': 1, '00000001111110111111110111111101101': 1, '00000001111110111111110111111110101': 1, '00000001111110111111111101101111111': 1, '00000001111110111111111111101001111': 1, '00000001111110111111111111101111011': 1, '00000001111110111111111111110111111': 1, '00000001111110111111111111111001101': 1, '00000001111110111111111111111011111': 3, '00000001111110111111111111111110101': 1, '00000001111110111111111111111111001': 1, '00000001111110111111111111111111101': 3, '00000001111110111111111111111111111': 4, '00000001111111001111111111111111111': 1, '00000001111111010101011101111111101': 1, '00000001111111011000110111111111101': 1, '00000001111111011011010101111111101': 2, '00000001111111011011111101111111111': 2, '00000001111111011011111111101001111': 2, '00000001111111011101111101111111111': 1, '00000001111111011111010011110110111': 1, '00000001111111011111011111111111111': 1, '00000001111111011111110001011111111': 1, '00000001111111011111110111111011001': 1, '00000001111111011111110111111111111': 1, '00000001111111011111111101111101111': 1, '00000001111111011111111111011111111': 1, '00000001111111011111111111101110110': 1, '00000001111111011111111111101111111': 1, '00000001111111011111111111111110111': 1, '00000001111111100000111111101011111': 2, '00000001111111101111110111100110111': 1, '00000001111111101111111001111101111': 1, '00000001111111101111111100111110111': 1, '00000001111111101111111111101011011': 1, '00000001111111101111111111101111111': 1, '00000001111111101111111111110111111': 1, '00000001111111101111111111111011111': 1, '00000001111111101111111111111101111': 1, '00000001111111110001110111110111111': 1, '00000001111111110001111000100100001': 2, '00000001111111110011100111001111111': 1, '00000001111111110100110101111111011': 1, '00000001111111110101111111101111111': 1, '00000001111111110101111111111010111': 1, '00000001111111110110110001111111111': 1, '00000001111111110110110011011111101': 1, '00000001111111110110110111110111111': 1, '00000001111111110110111111110111110': 1, '00000001111111110111001111000001111': 1, '00000001111111110111011111111110111': 1, '00000001111111110111110111111111111': 1, '00000001111111110111111101011011111': 1, '00000001111111110111111101111111111': 1, '00000001111111110111111111100011110': 1, '00000001111111110111111111101011101': 1, '00000001111111110111111111111011111': 1, '00000001111111111000111101110111111': 2, '00000001111111111001011111110110011': 1, '00000001111111111001111111101101111': 1, '00000001111111111010101111111001110': 1, '00000001111111111011100111011011110': 1, '00000001111111111011110011110111101': 1, '00000001111111111011110111111111111': 1, '00000001111111111011111001111011111': 2, '00000001111111111011111011111111111': 1, '00000001111111111011111110111101111': 1, '00000001111111111011111110111111111': 1, '00000001111111111011111111001011110': 2, '00000001111111111011111111001111111': 1, '00000001111111111011111111011011111': 1, '00000001111111111011111111011110111': 1, '00000001111111111011111111101001111': 1, '00000001111111111011111111101111111': 1, '00000001111111111011111111111011111': 1, '00000001111111111100001011111111111': 1, '00000001111111111100101111111111101': 1, '00000001111111111101000011111111010': 1, '00000001111111111101011111111110111': 1, '00000001111111111101101111111011111': 1, '00000001111111111101110011011111111': 1, '00000001111111111101110111111111111': 1, '00000001111111111101111011110101111': 1, '00000001111111111101111101111101111': 1, '00000001111111111101111111001111111': 1, '00000001111111111101111111111111100': 1, '00000001111111111110001111111011101': 1, '00000001111111111110010111111110111': 1, '00000001111111111110011101110111111': 1, '00000001111111111110011110111111101': 1, '00000001111111111110110111111111101': 1, '00000001111111111110110111111111111': 1, '00000001111111111110111101101010110': 1, '00000001111111111110111101111000111': 1, '00000001111111111110111101111111011': 1, '00000001111111111110111111011111011': 1, '00000001111111111110111111110111110': 1, '00000001111111111111010111111111111': 1, '00000001111111111111011001111011111': 1, '00000001111111111111011011101111101': 1, '00000001111111111111011100001111111': 1, '00000001111111111111011110111111011': 1, '00000001111111111111011111001111111': 1, '00000001111111111111011111100101101': 1, '00000001111111111111011111111011111': 1, '00000001111111111111011111111110101': 1, '00000001111111111111011111111111111': 5, '00000001111111111111101111000100111': 1, '00000001111111111111101111011011011': 1, '00000001111111111111101111101110111': 1, '00000001111111111111101111110011111': 1, '00000001111111111111101111111111011': 1, '00000001111111111111101111111111101': 1, '00000001111111111111101111111111111': 2, '00000001111111111111110001111011111': 1, '00000001111111111111110011011111111': 1, '00000001111111111111110101001111111': 1, '00000001111111111111110101111011111': 1, '00000001111111111111110110111110101': 1, '00000001111111111111111011101111011': 1, '00000001111111111111111011101111111': 3, '00000001111111111111111011111011111': 1, '00000001111111111111111011111101111': 1, '00000001111111111111111011111110110': 1, '00000001111111111111111100111011111': 1, '00000001111111111111111101001111011': 1, '00000001111111111111111101111110101': 1, '00000001111111111111111110101011111': 1, '00000001111111111111111110101111011': 1, '00000001111111111111111110111001111': 1, '00000001111111111111111110111110111': 1, '00000001111111111111111110111111111': 2, '00000001111111111111111111011111111': 11, '00000001111111111111111111101000011': 1, '00000001111111111111111111101010111': 3, '00000001111111111111111111101101101': 1, '00000001111111111111111111101110011': 1, '00000001111111111111111111101111101': 1, '00000001111111111111111111110111111': 7, '00000001111111111111111111111000101': 1, '00000001111111111111111111111011011': 3, '00000001111111111111111111111011111': 2, '00000001111111111111111111111100100': 1, '00000001111111111111111111111100111': 1, '00000001111111111111111111111101110': 1, '00000001111111111111111111111101111': 2, '00000001111111111111111111111110110': 1, '00000001111111111111111111111110111': 6, '00000001111111111111111111111111111': 6, '00000010000000000000000000000101110': 1, '00000010000000000000000000000101111': 1, '00000010000000000000000000100101111': 1, '00000010000000000000000001000101001': 1, '00000010000000000000000001100101001': 1, '00000010000000000000000001110111101': 1, '00000010000000000000000001111111101': 1, '00000010000000000000000010101111101': 1, '00000010000000000000000011111111011': 1, '00000010000000000000000101111110111': 1, '00000010000000000000000110011011111': 2, '00000010000000000000000111001111111': 1, '00000010000000000000000111111111111': 4, '00000010000000000000001000000001001': 2, '00000010000000000000001000011111111': 2, '00000010000000000000001011011111111': 1, '00000010000000000000001101111111101': 1, '00000010000000000000001111011011101': 1, '00000010000000000000010000101110111': 2, '00000010000000000000100011011001111': 1, '00000010000000000000100011110101111': 1, '00000010000000000000100111111111110': 1, '00000010000000000000111111001011110': 2, '00000010000000000001000000000100001': 1, '00000010000000000001000001011111111': 1, '00000010000000000001000010000000001': 1, '00000010000000000001000101101111111': 1, '00000010000000000001001011011101111': 1, '00000010000000000001001101011110101': 1, '00000010000000000001011111111111111': 2, '00000010000000000001100110111111111': 1, '00000010000000000001111111110110111': 2, '00000010000000000010000010011011110': 2, '00000010000000000010000101011111111': 1, '00000010000000000010000111001111111': 1, '00000010000000000010001010100001101': 1, '00000010000000000011101111111111111': 1, '00000010000000000011110111010110111': 2, '00000010000000000100000001111111111': 4, '00000010000000000100000011011110011': 1, '00000010000000000100000011101110111': 1, '00000010000000000100000111111111101': 1, '00000010000000000100001011111111111': 1, '00000010000000000100001110010000011': 1, '00000010000000000111101111101111111': 1, '00000010000000000111110001111110111': 1, '00000010000000000111111010111111101': 1, '00000010000000000111111101111111011': 1, '00000010000000001000000000000111111': 1, '00000010000000001000000000010111111': 1, '00000010000000001000000101101111111': 1, '00000010000000001000001011011111100': 1, '00000010000000001001001010101111111': 1, '00000010000000001100101011100111111': 1, '00000010000000001101000011100110111': 1, '00000010000000001101111111111101111': 1, '00000010000000010001001111111110111': 1, '00000010000000010010000010011111111': 1, '00000010000000011110101111111111101': 1, '00000010000000011111011111101111101': 1, '00000010000000100000000000000101101': 1, '00000010000000100000000000000111111': 1, '00000010000000100000000000001011111': 2, '00000010000000100000000111111011111': 1, '00000010000000100000001000011101111': 1, '00000010000000100000001010000111100': 1, '00000010000000100000001111111001111': 1, '00000010000000100000010111111011111': 2, '00000010000001000000000100000110111': 1, '00000010000001000000000111111111111': 1, '00000010000001000000001111111111111': 4, '00000010000001000000101101111111101': 1, '00000010000001000000110010000000001': 2, '00000010000001000001000010010111010': 1, '00000010000001000010111101111000111': 2, '00000010000001000011111111111111111': 2, '00000010000001000100000000010100011': 1, '00000010000001000100000000100111110': 1, '00000010000001000100000001011111111': 1, '00000010000001000100010101111111111': 1, '00000010000001000101111111111111111': 1, '00000010000001000111111111111111111': 1, '00000010000001001000001111011111111': 1, '00000010000001001100010111111010111': 1, '00000010000001001101100110111011101': 1, '00000010000001011111110110101100110': 1, '00000010000001011111111111111110111': 1, '00000010000001100000100001111111111': 1, '00000010000001100001000111111000101': 1, '00000010000010000000000001010111011': 1, '00000010000010000101000000011111101': 1, '00000010000010001000000111110111111': 1, '00000010000010001011101111111111111': 1, '00000010000010111111001101111011111': 1, '00000010000011000100000000000000011': 1, '00000010000011111011011101111111111': 2, '00000010000011111111111101111111111': 1, '00000010000100000000000000000000111': 2, '00000010000100000000000001111111111': 1, '00000010000100000000000111011010011': 1, '00000010000100000001100100000000011': 2, '00000010000100000101111111111111111': 1, '00000010000100010000000111111111111': 1, '00000010000100100100000000000111111': 1, '00000010000101000010000000000000001': 1, '00000010000101110111111110111111111': 1, '00000010000101111111110001111110111': 1, '00000010000110001101101111011101111': 1, '00000010000110100000000000000000111': 1, '00000010000110111111111111111111110': 1, '00000010000111111111100111111111111': 1, '00000010000111111111111111111111111': 1, '00000010001000000000000001111011111': 2, '00000010001000000000000001111111111': 1, '00000010001110011111101111001101111': 1, '00000010001110111010111101111111111': 2, '00000010001110111110110101111111111': 1, '00000010001111111101111111101111111': 1, '00000010001111111110111111011110111': 1, '00000010001111111111010101111111111': 1, '00000010001111111111110101100111011': 1, '00000010001111111111111111011011100': 1, '00000010001111111111111111111100101': 1, '00000010010000000000000000000110111': 1, '00000010010000000000000001111011111': 1, '00000010010000000000000011101011111': 1, '00000010010000000000010011111001111': 1, '00000010010000000000101111011111111': 1, '00000010010000000001010111111111111': 1, '00000010010000000100000000000101111': 1, '00000010010000000100000011111111011': 1, '00000010010000001111101101111111101': 1, '00000010010000001111111011111111111': 1, '00000010010000101111011111111011111': 1, '00000010010001000000001010000111111': 1, '00000010010001000000111111111110101': 1, '00000010010001000001111111001111111': 1, '00000010010001000100010010000110011': 1, '00000010010001010001000001111011110': 1, '00000010010010000000000000000001011': 1, '00000010010010101011101111111111011': 1, '00000010010010111101111101111111111': 1, '00000010010101001001100101011110101': 1, '00000010011101011110111111010111101': 1, '00000010011101111011110111101011011': 1, '00000010011101111111111111111011100': 1, '00000010011110111110110111111110111': 1, '00000010011110111111110111111111111': 1, '00000010011111011111111000001111110': 1, '00000010011111101110111111111101111': 1, '00000010011111110011111111111111111': 1, '00000010011111111011111111101110110': 1, '00000010011111111100110101101101101': 1, '00000010011111111111011110111101111': 1, '00000010011111111111110001110011111': 1, '00000010011111111111110110111101111': 1, '00000010011111111111111101111110111': 1, '00000010011111111111111101111111111': 1, '00000010100000000000000000000000011': 2, '00000010100000000000000000000000101': 2, '00000010100000000000000000000101110': 2, '00000010100000000000000000001111101': 2, '00000010100000000000000000010001011': 2, '00000010100000000000000001000001111': 2, '00000010100000000000000010010001111': 2, '00000010100000000000000110011110111': 2, '00000010100000000000000111001011111': 2, '00000010100000000000001011100111111': 1, '00000010100000000000001011111011111': 2, '00000010100000000000100011011111110': 2, '00000010100000000000101010000001011': 2, '00000010100000000001000011101100101': 1, '00000010100000000010111101111111101': 2, '00000010100000000100000011110110011': 1, '00000010100000000100010000010000111': 2, '00000010100000001111011111011011111': 2, '00000010100000010000000001101011001': 2, '00000010100000010000000010010111101': 1, '00000010100000011100010100110100000': 2, '00000010100000100000000000010110111': 2, '00000010100000100000000010001101111': 2, '00000010100000110000001111111111101': 1, '00000010100001000000000011111101111': 2, '00000010100001000000000011111111111': 2, '00000010100001000000001110111110111': 2, '00000010100001000100000000000110111': 2, '00000010100001001110101111110110111': 1, '00000010100010000000000001000001111': 2, '00000010100100000000001111111010101': 2, '00000010100100000000111000111111111': 2, '00000010100100000100000000000000111': 2, '00000010100101001011111111111111101': 2, '00000010100110000100000000010001111': 2, '00000010100111000100100000000010111': 2, '00000010101011001101010000100001111': 2, '00000010101011111111111111111111100': 1, '00000010101110111011111111111111111': 2, '00000010101110111111111100111101111': 2, '00000010101111111011111111111001111': 2, '00000010101111111111111101110010111': 1, '00000010110000000000000001101111111': 1, '00000010110000000000000010010000011': 1, '00000010110000000000000110100000000': 1, '00000010110000000000000111111111111': 1, '00000010110000000000001001001111101': 1, '00000010110000000000100000111110111': 2, '00000010110000000000100111001001110': 1, '00000010110000000100001010000111111': 1, '00000010110000000101001011101111111': 1, '00000010110000001001100000010111111': 2, '00000010110000001011000011110101111': 1, '00000010110000001100111101011101111': 1, '00000010110001000000000100000100011': 2, '00000010110111110111111111110111110': 1, '00000010110111111111110111101111111': 1, '00000010110111111111111111111110111': 1, '00000010111000000111111110111111111': 1, '00000010111011011111111111111101111': 1, '00000010111011111111111111111111111': 1, '00000010111100110111011111111011111': 1, '00000010111100111011101111101111111': 1, '00000010111101111111111111011101101': 1, '00000010111110101110110111110110111': 1, '00000010111111001111011100011111111': 1, '00000010111111010011111101111111111': 2, '00000010111111011111111111011111101': 1, '00000010111111110111101111110111111': 1, '00000010111111111001111111111011111': 2, '00000010111111111011011111111110110': 1, '00000010111111111011111011111101111': 1, '00000010111111111101111111111110111': 1, '00000010111111111110110100111110101': 1, '00000010111111111110111111011111111': 1, '00000010111111111110111111111111101': 1, '00000010111111111111110111111111111': 1, '00000010111111111111111110111111111': 1, '00000010111111111111111111100111111': 1, '00000010111111111111111111101111111': 1, '00000010111111111111111111111101111': 1, '00000010111111111111111111111111111': 3, '00000011000000000000000101000101001': 1, '00000011000000000000001010000110011': 1, '00000011000000000001000010100101110': 1, '00000011000000000001101111111111111': 1, '00000011000000000010111111101011111': 2, '00000011000010010000000001100000001': 1, '00000011000100000000000001000101111': 1, '00000011001000000100000010100101011': 1, '00000011001010111111111111111110111': 1, '00000011001011111111110101111111111': 1, '00000011001111011111111111111111011': 1, '00000011001111111011111111111101101': 1, '00000011001111111111111000000011111': 1, '00000011001111111111111101101101110': 1, '00000011001111111111111111001101101': 1, '00000011001111111111111111100101101': 1, '00000011010000000000000000101101111': 1, '00000011010000000000000111111110111': 1, '00000011010000000000001001011011111': 1, '00000011010000000011110000000111110': 2, '00000011010010000000000010000101001': 1, '00000011010010111110111111111011111': 1, '00000011010100111101111111001010111': 1, '00000011010110111011101111111000101': 1, '00000011010110111110101101110111111': 1, '00000011010111110001000011111011101': 1, '00000011010111111101011101111111111': 1, '00000011010111111110110101111111111': 1, '00000011010111111111011110111111111': 1, '00000011010111111111111101101111111': 1, '00000011011000011111111011111101111': 1, '00000011011001111011111011101011111': 1, '00000011011010111110111111111111111': 1, '00000011011010111111011111111111111': 1, '00000011011011111001111111111111111': 1, '00000011011011111011101111111101111': 1, '00000011011011111011111111100011111': 1, '00000011011011111100111111111111111': 1, '00000011011011111110111111111011111': 1, '00000011011011111111010111111011011': 1, '00000011011011111111100111111011111': 1, '00000011011011111111101000000001111': 1, '00000011011011111111101111111110001': 1, '00000011011011111111111010101111111': 1, '00000011011011111111111110101010111': 1, '00000011011011111111111111111011111': 1, '00000011011100110110111111111111111': 1, '00000011011100111111101011011111110': 1, '00000011011101011011111111010110111': 1, '00000011011101011111111111011011111': 1, '00000011011101011111111111110110111': 1, '00000011011101111111111111111111111': 2, '00000011011110000000100011111111111': 1, '00000011011110011010000011111111101': 1, '00000011011110101011111111111111111': 1, '00000011011110101100101111111111111': 1, '00000011011110111011111111111101101': 1, '00000011011110111011111111111110010': 1, '00000011011110111110100111111111101': 1, '00000011011110111110111111101101111': 1, '00000011011110111111010110100101111': 1, '00000011011110111111110101111110011': 1, '00000011011110111111111001011001111': 1, '00000011011110111111111111111001111': 1, '00000011011110111111111111111111111': 2, '00000011011111000110011111111011111': 1, '00000011011111001110110111110101111': 1, '00000011011111010111111011101111111': 1, '00000011011111011011001111111111011': 1, '00000011011111011011011111111111111': 1, '00000011011111011110111101111111111': 1, '00000011011111011110111111111110111': 1, '00000011011111011111110110111111111': 1, '00000011011111011111111111111101101': 1, '00000011011111011111111111111111100': 1, '00000011011111100111111101111111101': 1, '00000011011111101110110000000001111': 1, '00000011011111101111101110111111011': 1, '00000011011111101111110101111111111': 1, '00000011011111101111111100111110111': 1, '00000011011111101111111111110101111': 1, '00000011011111101111111111111111111': 2, '00000011011111110011110111111011111': 1, '00000011011111110011111111111111111': 1, '00000011011111110110110000000101111': 1, '00000011011111110110110111011111111': 1, '00000011011111110110111111101010111': 1, '00000011011111110111110111111111111': 1, '00000011011111110111111101111111101': 1, '00000011011111110111111111101011111': 1, '00000011011111111010001111001111111': 1, '00000011011111111010011001111111111': 1, '00000011011111111011001111101111111': 1, '00000011011111111011011111111101111': 1, '00000011011111111011110111111001101': 1, '00000011011111111011110111111011111': 1, '00000011011111111011111011011011011': 1, '00000011011111111011111011011111111': 1, '00000011011111111011111011101011111': 1, '00000011011111111011111011101101011': 1, '00000011011111111011111111011111111': 4, '00000011011111111011111111100011111': 1, '00000011011111111011111111101111111': 1, '00000011011111111011111111111011111': 1, '00000011011111111011111111111110110': 1, '00000011011111111011111111111110111': 1, '00000011011111111100111111101011111': 1, '00000011011111111101011111100011111': 1, '00000011011111111101100101111111111': 1, '00000011011111111110111111110011111': 1, '00000011011111111110111111111000111': 3, '00000011011111111111011110110111111': 1, '00000011011111111111011110111011111': 1, '00000011011111111111011111111011101': 1, '00000011011111111111011111111111111': 1, '00000011011111111111101111111001110': 1, '00000011011111111111101111111011101': 1, '00000011011111111111101111111111111': 1, '00000011011111111111110110101110111': 1, '00000011011111111111110110111111101': 1, '00000011011111111111110111101001100': 1, '00000011011111111111110111111011001': 1, '00000011011111111111110111111111111': 1, '00000011011111111111111010100111101': 1, '00000011011111111111111011111111111': 2, '00000011011111111111111100011111111': 1, '00000011011111111111111101111111011': 1, '00000011011111111111111110000101110': 1, '00000011011111111111111110111011001': 1, '00000011011111111111111110111111111': 2, '00000011011111111111111111010111111': 2, '00000011011111111111111111011011010': 1, '00000011011111111111111111101011111': 2, '00000011011111111111111111101111111': 2, '00000011011111111111111111110111111': 2, '00000011011111111111111111111011110': 1, '00000011011111111111111111111011111': 5, '00000011011111111111111111111111101': 5, '00000011011111111111111111111111111': 15, '00000011100000000000100010111111111': 2, '00000011100000010000100101100000001': 2, '00000011100111111111110111111111111': 1, '00000011100111111111111111010110111': 1, '00000011101011111011110111101110111': 2, '00000011101011111111101011111011010': 1, '00000011101101001111110101011111111': 1, '00000011101101011111111111101011101': 1, '00000011101110101111111101101101111': 1, '00000011101110110100010001011111111': 1, '00000011101110111101111100100011011': 2, '00000011101110111110111111101111101': 1, '00000011101110111111111111110111111': 1, '00000011101111011111111111011111111': 1, '00000011101111100111110111111110111': 1, '00000011101111101111111111110101111': 1, '00000011101111101111111111111010111': 1, '00000011101111111100111001111101101': 1, '00000011101111111111001111111111111': 1, '00000011101111111111110111111011111': 1, '00000011101111111111111101010111101': 1, '00000011101111111111111101111111111': 1, '00000011101111111111111111111101011': 1, '00000011101111111111111111111101111': 1, '00000011110000000000000000000100011': 1, '00000011110100110111110111011110111': 1, '00000011110101111110110111111101111': 1, '00000011110110111110111110111111111': 1, '00000011110111011110111111010010111': 1, '00000011110111101111111011011111101': 1, '00000011110111111011110111111111101': 1, '00000011110111111011111111110111111': 1, '00000011110111111101011011111111111': 1, '00000011110111111101111111111101111': 1, '00000011110111111110101111101111111': 1, '00000011110111111111011111111011111': 1, '00000011110111111111110111111011111': 1, '00000011110111111111111111111110101': 1, '00000011110111111111111111111111011': 1, '00000011111010011111111111011111111': 1, '00000011111010110111111111111011110': 1, '00000011111010111110111011010111011': 1, '00000011111010111111111111111101101': 1, '00000011111011011111111111111111111': 1, '00000011111011101111111111111111111': 1, '00000011111011110101000001010111111': 1, '00000011111011111101111101111110111': 1, '00000011111011111110110111101111111': 1, '00000011111011111111011111111111111': 1, '00000011111011111111110110011110101': 1, '00000011111011111111110111011011011': 1, '00000011111011111111111010111111101': 1, '00000011111011111111111101111011111': 1, '00000011111011111111111111011111101': 1, '00000011111011111111111111011111111': 1, '00000011111100001101101001000100011': 1, '00000011111100001111011111111111110': 1, '00000011111100010000001111101111111': 1, '00000011111100010110011111101101111': 1, '00000011111100011111111111111111111': 1, '00000011111100111100110111011101111': 1, '00000011111100111111011101111101111': 1, '00000011111101110110110011011111111': 1, '00000011111101111101111001111101100': 1, '00000011111101111110011111001011111': 1, '00000011111101111110110000111101111': 1, '00000011111101111110111101111100111': 1, '00000011111101111111101111111111111': 1, '00000011111101111111110111111011011': 1, '00000011111101111111111111010100101': 1, '00000011111101111111111111011111111': 1, '00000011111101111111111111101011111': 1, '00000011111101111111111111110111111': 1, '00000011111101111111111111111110110': 1, '00000011111110011110110111111111111': 1, '00000011111110101111111111101111111': 1, '00000011111110110011111111111111101': 1, '00000011111110110100011111111110111': 1, '00000011111110110110100011011110111': 1, '00000011111110110111111111011111111': 1, '00000011111110111011101011111011111': 1, '00000011111110111011110111001100111': 1, '00000011111110111011111111110111111': 1, '00000011111110111011111111111111111': 1, '00000011111110111100000101111111111': 1, '00000011111110111101101011101101111': 1, '00000011111110111110110111111111111': 1, '00000011111110111111000011011110111': 1, '00000011111110111111010111011110111': 1, '00000011111110111111011001111111111': 1, '00000011111110111111011111111011111': 1, '00000011111110111111100111111111111': 1, '00000011111110111111101111011111011': 1, '00000011111110111111101111011111111': 1, '00000011111110111111110001111111011': 1, '00000011111110111111110011011111111': 1, '00000011111110111111110011111001111': 1, '00000011111110111111110011111111111': 1, '00000011111110111111110101101111111': 1, '00000011111110111111110101111111101': 1, '00000011111110111111110110011011111': 1, '00000011111110111111110111111011111': 1, '00000011111110111111110111111110011': 1, '00000011111110111111111100011111101': 1, '00000011111110111111111101011111101': 1, '00000011111110111111111101101111111': 1, '00000011111110111111111111011101111': 1, '00000011111110111111111111101100111': 1, '00000011111110111111111111111111111': 9, '00000011111111001111111111111110111': 1, '00000011111111010111110100011111101': 1, '00000011111111010111111111101111101': 1, '00000011111111010111111111111111111': 1, '00000011111111011001011010101111111': 2, '00000011111111011010011111111111111': 2, '00000011111111011011111011010010101': 2, '00000011111111011101111111111111101': 1, '00000011111111011101111111111111111': 1, '00000011111111011111011101011111111': 1, '00000011111111011111101111011110111': 1, '00000011111111011111110111101111111': 1, '00000011111111011111111111101111111': 1, '00000011111111011111111111111011111': 1, '00000011111111011111111111111110110': 1, '00000011111111011111111111111110111': 1, '00000011111111011111111111111111011': 1, '00000011111111101011111111111111111': 1, '00000011111111101110111111011111111': 1, '00000011111111101111110111011111111': 1, '00000011111111101111111111011111011': 1, '00000011111111110010101111011111111': 1, '00000011111111110110101111111101101': 1, '00000011111111110110110101011101111': 1, '00000011111111110110110111111111101': 1, '00000011111111110110110111111111111': 1, '00000011111111110111101011101110111': 1, '00000011111111110111101111111011111': 1, '00000011111111110111110101111111111': 1, '00000011111111110111111011111111111': 1, '00000011111111110111111111110111111': 1, '00000011111111111001101111101111111': 1, '00000011111111111001111001011101101': 2, '00000011111111111010010101111011111': 2, '00000011111111111010100011111101111': 1, '00000011111111111010111111111111111': 1, '00000011111111111011010111111111111': 1, '00000011111111111011011101111111111': 1, '00000011111111111011100111111111110': 1, '00000011111111111011101100111001101': 1, '00000011111111111011101101111111111': 1, '00000011111111111011110111101111110': 1, '00000011111111111011111011001111111': 1, '00000011111111111011111011101100111': 1, '00000011111111111011111011111111111': 4, '00000011111111111011111111010111011': 1, '00000011111111111011111111111111011': 1, '00000011111111111011111111111111101': 1, '00000011111111111100101111111010111': 1, '00000011111111111100101111111111111': 1, '00000011111111111100110111011111011': 1, '00000011111111111100110111101001111': 1, '00000011111111111100111111101111111': 1, '00000011111111111100111111111111101': 1, '00000011111111111101110111101001111': 1, '00000011111111111101111011111101110': 1, '00000011111111111101111111011101111': 1, '00000011111111111101111111111011011': 1, '00000011111111111101111111111011111': 1, '00000011111111111110010011111011111': 1, '00000011111111111110010101100001111': 1, '00000011111111111110101111111110110': 1, '00000011111111111110110011111110011': 1, '00000011111111111110110110101001111': 1, '00000011111111111110110111111001111': 1, '00000011111111111110111001111011111': 1, '00000011111111111110111111101111111': 1, '00000011111111111110111111110111111': 1, '00000011111111111110111111111110111': 1, '00000011111111111110111111111111011': 1, '00000011111111111111001111011111111': 1, '00000011111111111111001111101011111': 1, '00000011111111111111001111111011111': 1, '00000011111111111111010001010111101': 1, '00000011111111111111010011011111111': 1, '00000011111111111111010100011111100': 1, '00000011111111111111010111111011111': 1, '00000011111111111111011011101011100': 1, '00000011111111111111011100111110111': 1, '00000011111111111111011101111111101': 1, '00000011111111111111011111000111111': 1, '00000011111111111111011111011011111': 1, '00000011111111111111011111011111101': 1, '00000011111111111111011111110010111': 1, '00000011111111111111011111111111111': 4, '00000011111111111111100011101111101': 1, '00000011111111111111100110111111111': 1, '00000011111111111111100111111111101': 1, '00000011111111111111101011111111111': 1, '00000011111111111111101101110111111': 1, '00000011111111111111101111011111111': 2, '00000011111111111111101111110110011': 1, '00000011111111111111101111111001111': 1, '00000011111111111111101111111101100': 1, '00000011111111111111101111111111111': 7, '00000011111111111111110001110111111': 1, '00000011111111111111110011100101111': 1, '00000011111111111111110110111001111': 1, '00000011111111111111110111011111111': 3, '00000011111111111111110111101001111': 1, '00000011111111111111110111101110111': 1, '00000011111111111111110111111011101': 1, '00000011111111111111110111111101111': 1, '00000011111111111111110111111111011': 1, '00000011111111111111110111111111111': 5, '00000011111111111111111010111110111': 1, '00000011111111111111111011011111011': 1, '00000011111111111111111011011111110': 1, '00000011111111111111111011011111111': 1, '00000011111111111111111011111010111': 1, '00000011111111111111111011111011111': 3, '00000011111111111111111011111111101': 1, '00000011111111111111111100010001111': 1, '00000011111111111111111101010111111': 1, '00000011111111111111111101110111101': 1, '00000011111111111111111101111101111': 1, '00000011111111111111111110110111111': 1, '00000011111111111111111110111011111': 1, '00000011111111111111111110111111111': 3, '00000011111111111111111111001111101': 1, '00000011111111111111111111001111111': 2, '00000011111111111111111111010101111': 1, '00000011111111111111111111011011011': 1, '00000011111111111111111111011011101': 1, '00000011111111111111111111011110110': 1, '00000011111111111111111111011111111': 5, '00000011111111111111111111101111111': 9, '00000011111111111111111111110011111': 3, '00000011111111111111111111110111111': 2, '00000011111111111111111111111011101': 1, '00000011111111111111111111111011111': 4, '00000011111111111111111111111101001': 1, '00000011111111111111111111111110001': 1, '00000011111111111111111111111110111': 14, '00000011111111111111111111111111101': 2, '00000011111111111111111111111111111': 25, '00000100000000001001111111011101111': 1, '00000100000000010000010100000111111': 2, '00000100000100000000110011011110101': 1, '00000100000101000000001001111110101': 1, '00000100001111111111111111111110101': 1, '00000100010000000000000000001111101': 1, '00000100011111111111111111101011101': 1, '00000100110111111111110111001111111': 1, '00000100111111111011011100111111111': 2, '00000101010000100010001110111111111': 1, '00000101011111011001010101111110011': 1, '00000101011111101110111111111011011': 1, '00000101011111111111110101101011110': 1, '00000101111011111011111111111001011': 2, '00000101111100000000110100000100111': 2, '00000101111101111011111111111111111': 1, '00000101111111111111111111111111110': 1, '00000101111111111111111111111111111': 1, '00000110000000000000000000000100011': 1, '00000110000000000000000000001101111': 1, '00000110000000000100000011111111111': 1, '00000110010000011111110001011011111': 1, '00000110011111110100101110110111111': 1, '00000110100000000000000001111001111': 2, '00000111011100011111111111111111111': 1, '00000111011111111011011101110111111': 1, '00000111101111111111001011111111111': 1, '00000111111010111011111111101111101': 2, '00000111111010111111111111011111111': 1, '00000111111111111111011111111111111': 1, '00001000000000001001000111111111111': 1, '00001000000001000000000000100000010': 2, '00001000000001001100000110011100101': 1, '00001000011111111111010111011011111': 1, '00001000100000000101000001111111110': 2, '00001001011111111110110001101111111': 1, '00001001111110110101100101101111100': 1, '00001001111110111110000110111110111': 1, '00001001111111111111011001110101111': 1, '00001001111111111111111111111001101': 1, '00001010000000000111111110111111111': 1, '00001010000111101001111100111111111': 2, '00001010100000000000000000100101011': 2, '00001010100000000000000011111111101': 2, '00001010100000000001000010000111101': 2, '00001011010000000000001111110110101': 1, '00001011011011111111110011011111111': 1, '00001011011110111111101111011111111': 1, '00001011011111111011110101111000111': 1, '00001011101111111111111111001101111': 1, '00001011101111111111111111111011111': 1, '00001011111110011111111111111111111': 1, '00001011111110111111101111101111111': 1, '00001011111111011111101111111001111': 1, '00001011111111011111111110111100010': 1, '00001011111111111101111111110110111': 1, '00001011111111111111101111111001101': 1, '00001011111111111111111111111111101': 1, '00001100000001000000001001111111111': 1, '00001100000011111011101111111111111': 1, '00001100100000000001110111111110111': 2, '00001100100000001000000000000001111': 2, '00001101011111111111101111111011101': 1, '00001101011111111111111001111111111': 1, '00001101111111111110111111100001111': 1, '00001101111111111111110111001010011': 1, '00001110000000000000000000110011111': 2, '00001110000000000000000001111111111': 1, '00001110100000001000000111011001111': 2, '00001110111111011111110111111111101': 1, '00001111011011111111110101111111111': 1, '00001111011111101111111111101010111': 1, '00001111011111111111111111111001111': 1, '00001111111111111111111111011111101': 1, '00010000000000001111011111011111111': 1, '00010000000000001111110101111111111': 1, '00010000000001000000100011011111111': 1, '00010000010000000000000111101111101': 1, '00010000100000001111001111111111111': 1, '00010000110000010000101111101111111': 1, '00010000111101111010111111111111110': 1, '00010001000000000100111111101101111': 1, '00010001001111110111111111001110110': 1, '00010001011111111111011111111010111': 1, '00010001101111111011111111111110111': 2, '00010001111110111101110111011111110': 1, '00010001111111011111101111111111111': 1, '00010001111111101111110110111111101': 1, '00010001111111111111111111111111111': 1, '00010010000001000000000011111111111': 1, '00010010000001101000000001100111101': 1, '00010010100000010000000100010011011': 2, '00010011011011111101110111011111111': 1, '00010011101111011011101111111111101': 1, '00010011111001110101000101110011111': 1, '00010011111101110110111111011111111': 1, '00010011111101111111111111111111100': 1, '00010011111110111111111111011011111': 1, '00010011111111110110111111001011111': 1, '00010011111111111001111111111011111': 2, '00010011111111111101010111010111101': 1, '00010011111111111111001101111111111': 1, '00010011111111111111111110001001111': 1, '00010101111111111111111011111111111': 1, '00011000100001111111101111011101101': 1, '00100000000000100101101111111011001': 1, '00100000000000111111111111111011111': 1, '00100000000001001100101111111111111': 1, '00100000001110011111111111110111111': 1, '00100000001111111011011111101111011': 1, '00100000100000000000000000000100011': 2, '00100000100110111111111111111111111': 1, '00100000111110111111111111111111101': 1, '00100000111111100111011111101111111': 1, '00100001001110111111110111111111111': 1, '00100001011111111111111111111001111': 1, '00100001110111111111111111111110110': 1, '00100001111101011101111111111101111': 1, '00100001111110111111111111111010111': 1, '00100001111111110111110111111110101': 1, '00100001111111111111111111111011101': 1, '00100010000000110000001011011101111': 1, '00100010000011111111111001111011111': 1, '00100010010000000011011111101111111': 1, '00100011000000001000001100010111111': 1, '00100011010110111011111111101011101': 1, '00100011011100110100100111111111100': 1, '00100011011111111011011111111011110': 1, '00100011011111111011011111111110111': 1, '00100011011111111011110010000110101': 1, '00100011011111111111111111101001111': 1, '00100011100111001001111111011111111': 2, '00100011101111111111111111110101111': 1, '00100011111110101111001111101111111': 1, '00100011111111110101111111011111101': 1, '00100011111111110111111111011111001': 1, '00100011111111111101111110111110111': 1, '00100011111111111111101111111111011': 1, '00100011111111111111110101011111111': 1, '00100011111111111111110111000111111': 1, '00100011111111111111110111111110111': 1, '00100011111111111111111111110111111': 1, '00100101111111111101111110111110111': 1, '00100111111111011111111011111111111': 1, '00100111111111111111111111011111111': 1, '00101101111111111101110001111011011': 1, '00110001111111111011011101011011111': 2, '00110011111111111111111111111111111': 1, '00111110011111111111110111011111111': 1, '00111111000000000001000001111110010': 1, '01000000000000000010111111011100111': 2, '01000000111011111111111011111011110': 1, '01000001011111111111111111111011101': 1, '01000001111010111111111011011111111': 1, '01000001111110110111110111101011101': 1, '01000001111111111111011111111010111': 1, '01000001111111111111110001111110100': 1, '01000001111111111111110111011011111': 1, '01000001111111111111111111011011111': 1, '01000001111111111111111111110011101': 1, '01000010010000000000001011011101111': 1, '01000010111011111101001111101111111': 1, '01000011011101011011011101111111111': 1, '01000011011111011101111111111111111': 1, '01000011011111111110111111111010111': 1, '01000011111110111111111111011110111': 1, '01000011111110111111111111111101111': 1, '01000011111110111111111111111111111': 1, '01000011111111101111111110011001101': 1, '01000011111111111111110111111111111': 1, '01000101111111111101101111111001101': 1, '01001010000001000000001010111111111': 1, '01001101010000010101000000000100001': 1, '01001101011111111011110111111101101': 1, '01001101111111111111110010001111111': 1, '01001110001110111111110111111111111': 1, '01001111001110111111111111101011111': 1, '01001111101111111011111111111010111': 2, '01010001111110111010001111111111011': 1, '01011100000000100000001011111111111': 1, '01011101011111011111111111110110111': 1, '01011101100000000000001010000101111': 2, '01011101111111111011111101111111101': 2, '01011101111111111111111110101001101': 1, '01011110000111111111111111001111111': 1, '01011110100000000000000101111111111': 2, '01011111011111101111101111001001111': 1, '01011111011111101111110001100011011': 1, '01011111111111111101111011111101001': 1, '01100000000000000001111101111101011': 2, '01100001111111110111111101101111011': 1, '01100011011010111111111111111011110': 1, '01101101111110111111111101011111111': 1, '01101111111110011011110111111111111': 2, '01110001101110111111001011111111111': 1, '01110001111111111111111111111110111': 1, '01110011111111101111111111001100111': 1, '01111000100000000000001011110111110': 2, '01111000100000100000001000111110111': 2, '01111000100001000001110000000101111': 2, '01111001001111011111111111111111111': 1, '01111011011111111111111111101011111': 1, '01111100000000000000001111111101111': 1, '01111100000000000001000111101010111': 1, '01111100000000000100000111101101111': 1, '01111100000000001000000001101010111': 1, '01111100000000001111110001101111101': 1, '01111100000001000000100111011111111': 1, '01111100000001111110111111011110111': 1, '01111100000010100000000001011111111': 1, '01111100001111111111111111101011111': 1, '01111100010000000000000111111011011': 1, '01111100010111111111111101111111111': 1, '01111100100000000001001010101000111': 2, '01111100100000000100011011111111000': 1, '01111100100000011111111011111111111': 1, '01111100111111101110111011111111111': 1, '01111100111111111110111111101101111': 1, '01111101001111011111011111111110101': 1, '01111101001111111110000110011111101': 1, '01111101011011110101111111101111111': 1, '01111101011110111111110111101011111': 1, '01111101011111011101110011111111111': 1, '01111101011111011111111111111111110': 1, '01111101011111101111111111111011111': 1, '01111101011111110111111111111011111': 1, '01111101011111111011110111101111111': 1, '01111101011111111011111111111111101': 1, '01111101011111111111011101110111101': 1, '01111101011111111111111101011111111': 1, '01111101100000000000000000011011111': 2, '01111101100000000000000011111111111': 2, '01111101101111111111111111111011101': 1, '01111101110101111011111110011100111': 2, '01111101110111111111111111111011111': 1, '01111101111100011111101111111011111': 1, '01111101111101011111111111111111111': 1, '01111101111110110101111111011111111': 1, '01111101111110111110111111101111111': 1, '01111101111111101111010111001011111': 1, '01111101111111110011101101110000001': 1, '01111101111111110111111011111111111': 1, '01111101111111111011111101011111111': 2, '01111101111111111011111111111110111': 1, '01111101111111111111110111111011111': 1, '01111101111111111111111111110010111': 1, '01111101111111111111111111111011111': 1, '01111110000000000001100011111011101': 1, '01111110000000001011111111111111111': 2, '01111110000100000000001010001110101': 1, '01111110000110111000111111111111111': 2, '01111110001111111011111111101101111': 1, '01111110010001000101010000010001011': 1, '01111111001111111111111111111110111': 1, '01111111011011111111111111111111111': 1, '01111111011101111111110111111011101': 1, '01111111011110111110111101111111111': 1, '01111111011111011011101111011110111': 1, '01111111011111011111111111011011101': 1, '01111111011111011111111111111111111': 1, '01111111011111111011011111111011111': 1, '01111111011111111111101111010111111': 1, '01111111011111111111110101111001111': 1, '01111111100000000000000001101111011': 2, '01111111101111101111111110111011111': 2, '01111111101111111011110111111110111': 2, '01111111111100101111111111111101111': 1, '01111111111110111011111111111111111': 2, '01111111111110111111111101011101111': 1, '01111111111111001111010111101111111': 1, '01111111111111111010111111011111111': 2, '01111111111111111100111111111111111': 1, '01111111111111111101110101011111111': 1, '01111111111111111110111111111000111': 1, '01111111111111111110111111111111110': 1, '01111111111111111111001111111111111': 1, '01111111111111111111110111011111111': 1, '01111111111111111111111001100111111': 1, '01111111111111111111111111101111101': 1, '01111111111111111111111111110101111': 1, '10000000000000000000000000100000111': 2, '10000000000000000000000010000001011': 1, '10000000000000001111111000001111111': 1, '10000000000000011100100111101001110': 1, '10000000010000000010000000000100001': 1, '10000000010001000000000000000101101': 1, '10000000100000000101001011111111101': 1, '10000000111110111111111111111111111': 1, '10000001011010110111110000111111111': 1, '10000001011110111101111111110011111': 1, '10000001011111111111111100000001111': 1, '10000001011111111111111111111111111': 2, '10000001101110111011101111011111101': 1, '10000001101111100111111111111011011': 1, '10000001101111111011111111111111011': 2, '10000001111110011111111111011101101': 1, '10000001111110111111011111111111111': 1, '10000001111110111111110101111111101': 1, '10000001111110111111111111111111111': 3, '10000001111111111110111111111101001': 1, '10000001111111111111011111111111111': 1, '10000001111111111111100111011111111': 1, '10000001111111111111110111111111101': 1, '10000001111111111111110111111111111': 1, '10000001111111111111111111011111011': 1, '10000001111111111111111111111101111': 1, '10000001111111111111111111111111100': 1, '10000010000000000000001011111011111': 1, '10000010000000000001000011111011111': 1, '10000010000000000100001111101111011': 1, '10000010000000000111001111101110111': 1, '10000010000000011011101111111111101': 1, '10000010000110111111111101111111111': 1, '10000010010101000000001010011011111': 1, '10000010011011111111110101111011111': 1, '10000010011111111111111111110011111': 1, '10000010100000101111101011111101111': 1, '10000010100000110111111111111101111': 1, '10000010110111111101111111111110111': 1, '10000010111110111111010001111110110': 1, '10000011000100000110001011111011011': 1, '10000011000111111110111111011011110': 1, '10000011000111111111111110111111111': 1, '10000011011001010000000001101111111': 1, '10000011011011111110110001101110111': 1, '10000011011110111110101100010111111': 1, '10000011011110111111111101011111101': 1, '10000011011111111011110111111111111': 1, '10000011111111111101111111111011111': 1, '10000100000000000000000101111011101': 2, '10000100000000001100011011111101111': 1, '10000100000101000101000101100111111': 1, '10000110000101000000010010010011111': 2, '10000111111110111101011111111111111': 1, '10010001011011011110111111111111111': 1, '10010100000000000000001111111111111': 1, '10011001111110111111101111111011111': 1, '10011101110100010000000111111111111': 1, '10011110111111111011111111111111111': 1, '10011111011111111011111111011111111': 1, '10100000000000001101101111111010111': 1, '10100001011011111111101111000001111': 1, '10100001100000010010000111010010101': 2, '10100001111111110110111111111111111': 1, '10100001111111111111110111111101111': 1, '10100011000111110101111111111111101': 1, '10100011011101101110111111011111111': 1, '10110000000111111111111111111111111': 1, '10110011111111111111111111011111111': 1, '10110100000000000000000001011111111': 1, '10111000000000000000110111111111011': 2, '10111100000000111111111011011111111': 1, '10111100000010101111111110111111111': 1, '10111100000011000000000000000101011': 1, '10111100100000001000000111011111111': 1, '10111100111110111111111111101111111': 1, '10111101001111111111111111011111111': 1, '10111101011111111011111110111111111': 1, '10111101100001100000001000001111010': 2, '10111101111111011111110111000111101': 1, '10111101111111011111110111111110111': 1, '10111101111111111011100111011111111': 1, '10111101111111111111110101100111111': 1, '10111101111111111111111011111111101': 1, '10111110000000001000100001000000111': 1, '10111110011111111101111101111010111': 1, '10111110101111111111111111111011111': 1, '10111111010111111011100111111111111': 1, '10111111011111011111111111111111111': 1, '10111111011111100111111111111111111': 1, '10111111100000000011000111011111110': 2, '10111111101111111100000010010000010': 1, '10111111111111101111111101111111111': 1, '10111111111111111110011101111110111': 1, '10111111111111111111101101111111101': 1, '10111111111111111111111111010111110': 1, '11000010110000000000000001111001101': 2, '11001100000111111111111111110011111': 1, '11001101111111110101101111111011111': 1, '11010000000111011111111111111111111': 1, '11010101110111111111100111111010101': 1, '11010101111111111111111111001110111': 1, '11010110000000000000000111011111111': 1, '11010111111111111111011101111111101': 1, '11011000110001010100001111111110111': 1, '11011100000000000000001000000011111': 2, '11011100000000000010001111111111111': 1, '11011100000000110000001101111111111': 1, '11011100000010111111111111011011111': 1, '11011100010111111111111111111011111': 1, '11011100011011111111100111101011100': 1, '11011100011110111011110111101111111': 1, '11011100011111111111101101111011111': 1, '11011100100000000000001000000000011': 2, '11011100100000001111001000111111101': 2, '11011100100000011000000000101110111': 2, '11011100111110111111111111111111001': 1, '11011100111111101111111111111111101': 1, '11011101011110011111111111111111101': 1, '11011101011111111111110111110001111': 1, '11011101011111111111111001111111111': 1, '11011101101111111111101111101111111': 1, '11011101111011111111111111101111111': 1, '11011101111110111111111001111101111': 1, '11011101111111110011111011111011100': 2, '11011101111111110111100111111111101': 1, '11011101111111111011110111101111111': 1, '11011101111111111111111110110111111': 1, '11011101111111111111111111010111101': 1, '11011101111111111111111111101101111': 1, '11011101111111111111111111111011111': 1, '11011110000000000000000010010100011': 1, '11011110000000000000100111011111111': 1, '11011110000000000001100011111111111': 1, '11011110000011001011111011101111011': 2, '11011110100000001110110110011010111': 2, '11011110110001000011101111101111111': 1, '11011111001111111111111111101111111': 1, '11011111011110111111111111111011101': 1, '11011111011111011110111101101111110': 1, '11011111011111011111101111101111111': 1, '11011111011111111011101111101011111': 1, '11011111011111111111010011111111111': 1, '11011111100000000010111111101111111': 2, '11011111111111110111111101111101111': 1, '11011111111111111110110111111110101': 1, '11011111111111111110111110111011111': 1, '11100001111111011101101011111111111': 1, '11101100000001000001000111010111011': 1, '11101100001000000000000101101111111': 1, '11101100010110111110111111111011111': 1, '11101101001110111111011111111011111': 1, '11101101001111111111011111111110111': 1, '11101101011110111111011111111000111': 1, '11101101011111111011101111111011111': 1, '11101101100000000000100010000101011': 2, '11101101101111110111111111101111011': 1, '11101101111011111111011111111111101': 1, '11101101111011111111111111001111111': 1, '11101101111101011111101111011111110': 1, '11101101111101101111110111111011111': 1, '11101101111110110111111111111111111': 1, '11101101111110111101111111011111111': 1, '11101101111111011111111111111111111': 1, '11101101111111111111011110011011111': 1, '11101101111111111111011111110111011': 1, '11101101111111111111110111111111100': 1, '11101101111111111111111111101111111': 1, '11101101111111111111111111111101100': 1, '11101110000000000000001101010111110': 1, '11101110000000001011111111111111110': 2, '11101110000001000000010000010001001': 2, '11101110000001001111111111111111111': 1, '11101110001111111111111111111101111': 1, '11101110100001000001000000110010001': 2, '11101111001111111010110011111111111': 1, '11101111011110111011111011111100111': 1, '11101111011111010100111111111101111': 1, '11101111101111111110111111111011111': 1, '11101111111110011111111111111111111': 1, '11101111111111101100110111111111111': 1, '11101111111111111010111111111110101': 1, '11101111111111111110111111110111111': 1, '11101111111111111111111111101111101': 1, '11110000000000000100000001110110010': 1, '11110000000000000110001111010100111': 1, '11110001101110111111111101111011110': 2, '11110001110110110111011111111110111': 1, '11110001111011111111111111111111111': 1, '11110001111111111111011111101001110': 1, '11110001111111111111111111110111111': 1, '11110011011111111011111111111110111': 1, '11110100000000000000000000000001111': 2, '11110100000000000010000000010111111': 1, '11110100000000010000000000000001111': 1, '11110100000000100101000001111111111': 1, '11110100000001011111111111100111111': 1, '11110100010000000000001011011010111': 1, '11110100010000000000011011001111111': 1, '11110100100001000000001111111101110': 1, '11110100111011111111001111101011111': 1, '11110101001111101111101110011101001': 1, '11110101001111111111101111111010111': 1, '11110101011000100000001111111111111': 1, '11110101011011111111111111111001111': 1, '11110101011110111111111101001111111': 1, '11110101011111111011111011110111111': 1, '11110101011111111101111111111011111': 1, '11110101101110111111111111110111111': 1, '11110101110111111110111111011111111': 1, '11110101111011111111110111111111111': 1, '11110101111101111111111110110111111': 1, '11110101111111011101111111111111011': 1, '11110101111111111011111101011111111': 2, '11110101111111111111101111111111111': 1, '11110101111111111111111111101111111': 1, '11110110000000000000000011000101100': 1, '11110110000000000011111111110011111': 2, '11110110000001001101001011111110101': 1, '11110110000100000101100111111111011': 1, '11110110001110111111101110011110111': 1, '11110110100001000000000000100001001': 2, '11110110100001111111111000010001101': 2, '11110111000100000000000000110000010': 1, '11110111011100110001011011111111101': 1, '11110111011111111011011111111110111': 1, '11110111011111111110011110111110111': 1, '11110111011111111111110101111011001': 1, '11110111101111011111111101101111111': 1, '11110111101111111011111111111001101': 2, '11110111111111101111111011101001111': 1, '11110111111111110111111111111010111': 1, '11110111111111111111010110111011111': 1, '11110111111111111111101111111011111': 1, '11110111111111111111111101111111111': 1, '11111000000000000001011001011111111': 2, '11111000000000000100100011111110110': 1, '11111000000000001001001111011101110': 1, '11111000000000100111111111111111111': 1, '11111000000100000000000000010110111': 1, '11111000001111111111111011111111111': 1, '11111000011111111111111101101101011': 1, '11111000100010111011111111111111101': 2, '11111000111111111111111101111111111': 1, '11111000111111111111111110011110101': 1, '11111000111111111111111111111111101': 1, '11111001011110111011101111111110101': 1, '11111001011110111111111011101011111': 1, '11111001011110111111111111111001111': 1, '11111001011111111110111101111111111': 1, '11111001011111111111111101111111111': 1, '11111001011111111111111110001011111': 1, '11111001100100000111111111111111111': 1, '11111001110111011111111111111010111': 1, '11111001111011111111101101110111111': 1, '11111001111110111011101111111111111': 1, '11111001111111011101101111011111111': 1, '11111001111111110111111010000001011': 1, '11111001111111110111111011111111111': 1, '11111001111111111111110011101111101': 1, '11111001111111111111111001111111111': 1, '11111001111111111111111011011111111': 1, '11111001111111111111111111101001111': 1, '11111001111111111111111111111111111': 5, '11111010000000100100001011111111111': 1, '11111010000001000000000000000000011': 2, '11111010010001111111111111111111111': 1, '11111010010010000000000101110011111': 1, '11111010010111011010111111111111111': 1, '11111010011111111111110111111011111': 1, '11111010100000001111111111101101101': 1, '11111010111111110111110011111011111': 1, '11111011011110111110001111101111111': 1, '11111011011111011111111111111111111': 1, '11111011011111101100111110111111101': 1, '11111011011111111110101111111111111': 1, '11111011100000000011101101111010011': 2, '11111011101010011111111110111111111': 1, '11111011101111011111101111111111101': 1, '11111011101111110101111111111100111': 1, '11111011110000000001000101010011111': 2, '11111011111010110110101111111011111': 1, '11111011111110111011111111111111111': 2, '11111011111111011111111110110010111': 1, '11111011111111111111100101111111111': 1, '11111011111111111111111011111011101': 1, '11111011111111111111111111110111111': 1, '11111011111111111111111111111011111': 1, '11111100000000000000000000000110111': 1, '11111100000000000000000000101111011': 1, '11111100000000000000000001000001011': 1, '11111100000000000000000001000101101': 1, '11111100000000000000000001000111111': 1, '11111100000000000000000001010111111': 4, '11111100000000000000000010000001111': 1, '11111100000000000000000010000101111': 1, '11111100000000000000000010100111111': 1, '11111100000000000000000011101000111': 1, '11111100000000000000000011111111111': 1, '11111100000000000000000100111111111': 1, '11111100000000000000000110111111111': 1, '11111100000000000000000111001111111': 1, '11111100000000000000001000001111111': 1, '11111100000000000000001011000101111': 1, '11111100000000000000001011001111111': 1, '11111100000000000000001011100100111': 1, '11111100000000000000001011101011111': 1, '11111100000000000000001011111011101': 1, '11111100000000000000001011111111111': 1, '11111100000000000000001101111111110': 1, '11111100000000000000001111110110111': 1, '11111100000000000000001111111111101': 1, '11111100000000000000001111111111111': 1, '11111100000000000000010000000000111': 2, '11111100000000000000010110001111111': 2, '11111100000000000000100001000001001': 1, '11111100000000000000100001111111111': 1, '11111100000000000000100011011111111': 1, '11111100000000000000100011111111101': 1, '11111100000000000000100111111111101': 1, '11111100000000000000101001111111111': 1, '11111100000000000000101011110111101': 1, '11111100000000000000110011111110111': 2, '11111100000000000000111111111010111': 2, '11111100000000000001000000000000011': 2, '11111100000000000001000011101111111': 1, '11111100000000000001101110111100111': 1, '11111100000000000001110001111111110': 2, '11111100000000000001111111011111111': 2, '11111100000000000001111111101111111': 2, '11111100000000000011101111111111111': 1, '11111100000000000011111111110111111': 2, '11111100000000000011111111111111111': 1, '11111100000000000100000000100000101': 1, '11111100000000000100000011111111111': 3, '11111100000000000100111111110111111': 1, '11111100000000000101100000010111111': 1, '11111100000000000101110111011111111': 1, '11111100000000000110000101000111011': 1, '11111100000000000111011001011111111': 1, '11111100000000000111111111101011110': 1, '11111100000000001000000111011111111': 1, '11111100000000001000000111111110011': 1, '11111100000000001001101011000001110': 1, '11111100000000001100100111110110111': 1, '11111100000000001100101111111111111': 1, '11111100000000001110011001111111011': 1, '11111100000000001111011001111101101': 1, '11111100000000001111111111111111111': 1, '11111100000000010000000000000101011': 1, '11111100000000010000000001010010111': 1, '11111100000000010000001001001111111': 1, '11111100000000010000001001101111111': 1, '11111100000000010100000001011010111': 1, '11111100000000011011101111111111111': 1, '11111100000000011100000000011111111': 1, '11111100000000100000000001110001111': 2, '11111100000000100000000011111100111': 1, '11111100000000100000001011010111111': 1, '11111100000000100000100100010001111': 2, '11111100000000100001011001011111101': 2, '11111100000000111100111111111111111': 1, '11111100000001000000000011001110101': 1, '11111100000001000000001011111111101': 1, '11111100000001000000001111110111101': 1, '11111100000001000000011010011101111': 2, '11111100000001000000011101011111110': 2, '11111100000001000001000111111111111': 1, '11111100000001000001111111111111111': 2, '11111100000001000100001000000001111': 1, '11111100000001001001000011111111111': 1, '11111100000001010100010011011111101': 1, '11111100000001100000000000001111110': 1, '11111100000001100000000111111111111': 1, '11111100000001100000001111111000110': 1, '11111100000001111111101111111111111': 1, '11111100000001111111110101111111110': 1, '11111100000001111111110111111111101': 1, '11111100000010000000000000000011011': 2, '11111100000010000000000010000000001': 1, '11111100000010000000000010000100011': 1, '11111100000010000101100101011011111': 1, '11111100000010001001010001111101111': 2, '11111100000010101100011011111011111': 1, '11111100000010110111111110101111111': 1, '11111100000010111110111111011110111': 1, '11111100000010111111111111101111111': 1, '11111100000011101111110111111101111': 1, '11111100000011111010111111001101110': 1, '11111100000011111111110011111111111': 1, '11111100000011111111111101111111101': 1, '11111100000100000000001011111111101': 1, '11111100000100000011011101111010111': 2, '11111100000100000011100000110111011': 1, '11111100000100100000001000000101111': 1, '11111100000100100001000001011110111': 1, '11111100000100100101010010011111011': 1, '11111100000101000000000001111101011': 1, '11111100000101000000001111111111110': 1, '11111100000101000000001111111111111': 1, '11111100000101001000000111001111111': 1, '11111100000101001000001100000001101': 1, '11111100000101001110101111111111111': 1, '11111100000101111101111111111111111': 1, '11111100000101111111110111111011101': 1, '11111100000101111111111111101110101': 1, '11111100000110000001100111110111111': 1, '11111100000110100000100011011111111': 1, '11111100000111011011001111010110111': 1, '11111100000111011111111111111111100': 1, '11111100000111110111111111111100111': 1, '11111100000111111111011011011100111': 1, '11111100000111111111111011011101101': 1, '11111100001000010001010011111111111': 2, '11111100001000100000000000000100001': 1, '11111100001011100000000011011111111': 1, '11111100001101000000000010010101111': 1, '11111100001101111111111111100100011': 1, '11111100001110111111111111010111110': 1, '11111100001111111111110111111111111': 1, '11111100001111111111111111111111111': 3, '11111100010000000000000000000001101': 1, '11111100010000000000000110000000000': 1, '11111100010000000000001001010011111': 1, '11111100010000000000001011100001011': 1, '11111100010000000001000000000111101': 1, '11111100010000000100101011111111110': 1, '11111100010000000111111110011111111': 1, '11111100010000001000000000001011101': 1, '11111100010000001000001011111110111': 1, '11111100010000001100101111101111111': 1, '11111100010000011111110101010011111': 1, '11111100010000100011010111011111111': 1, '11111100010001000000000000000000001': 1, '11111100010001000000000000011111111': 1, '11111100010001000000000011111111111': 1, '11111100010001000000001000100011111': 1, '11111100010001000001111111011111111': 1, '11111100010001000100000000111111011': 1, '11111100010001001000110000101111111': 2, '11111100010001100000000110101010111': 1, '11111100010001101011000001000110111': 1, '11111100010001111111111111011001111': 1, '11111100010010000100000001111111111': 1, '11111100010010111111011111111111111': 1, '11111100010011000000000111111111101': 1, '11111100010101000000000010000000101': 1, '11111100010101011111110101100111111': 1, '11111100010111111111011111111011111': 1, '11111100011100000000100001111111111': 1, '11111100011110000000001011011110111': 1, '11111100011110011101111000000000001': 1, '11111100011110011110011110111111101': 1, '11111100011110111111110001111110111': 1, '11111100011110111111110111111011111': 1, '11111100011110111111111001100010111': 1, '11111100011111011011100111111111111': 1, '11111100011111011111111110111111111': 1, '11111100011111110010111111111111011': 1, '11111100011111110011111111110111111': 1, '11111100011111111010001101111001111': 1, '11111100011111111101110101101111111': 1, '11111100011111111110011101111111011': 1, '11111100011111111111111101110111111': 1, '11111100011111111111111101111110101': 1, '11111100011111111111111111111011111': 1, '11111100100000000000000000010101101': 2, '11111100100000000000000001111111111': 2, '11111100100000000000000011101011111': 2, '11111100100000000000000101111011111': 2, '11111100100000000000000111001111111': 1, '11111100100000000000000111010011111': 2, '11111100100000000000000111101111110': 1, '11111100100000000000000111111110111': 2, '11111100100000000000001001111111111': 2, '11111100100000000000001111101010111': 2, '11111100100000000000010011111111101': 2, '11111100100000000000011001101110101': 2, '11111100100000000000011011101111111': 2, '11111100100000000000100010111010111': 2, '11111100100000000000100101111111011': 2, '11111100100000000001000001111001111': 2, '11111100100000000001101001110111110': 2, '11111100100000000001111011001111111': 2, '11111100100000000010000010111111111': 2, '11111100100000000011010010000100111': 2, '11111100100000000011110001011111111': 2, '11111100100000000011111011001111111': 2, '11111100100000000011111110111111111': 2, '11111100100000000100000000000000000': 2, '11111100100000000100000000000000010': 5, '11111100100000000101111011111111111': 1, '11111100100000000111110111101111110': 1, '11111100100000001000000000000000001': 2, '11111100100000001001001010000101111': 1, '11111100100000001011111111011111111': 2, '11111100100000001111101011111110011': 1, '11111100100000010000000011111101111': 1, '11111100100000010000001111111111111': 1, '11111100100000010001000010000001111': 2, '11111100100000010111111110101000001': 1, '11111100100000011101111110001111111': 1, '11111100100000100111000111010111111': 1, '11111100100000100111111111111111101': 1, '11111100100000110100101011011111101': 1, '11111100100000111111110011011110111': 1, '11111100100001000000000000010101001': 2, '11111100100001000000000000011001100': 2, '11111100100001000000000001011110111': 2, '11111100100001000001000011111010101': 2, '11111100100001000101101111110111101': 1, '11111100100001001000011010000001111': 2, '11111100100001010101010000000100011': 1, '11111100100001011011111111101111111': 2, '11111100100011001000001111101111011': 1, '11111100100100000000001111111011111': 2, '11111100100100010011101111110111111': 1, '11111100100110100000000011111111111': 1, '11111100100110111111111111101111111': 1, '11111100100111011010111011011011111': 2, '11111100100111110111110111111110101': 1, '11111100101000000000000001111110101': 2, '11111100101000000000000111011111111': 2, '11111100101000111011110001111011111': 3, '11111100101001000000000111111011110': 2, '11111100101001000000001010111111111': 2, '11111100101101111011011111111111111': 2, '11111100101111111011101111101111011': 1, '11111100101111111111110111111111111': 1, '11111100101111111111111011111111111': 1, '11111100110000000000000001110101111': 1, '11111100110000000000000011001110111': 1, '11111100110000000000001011011011101': 1, '11111100110000000000010001011101111': 2, '11111100110000000001000011101011111': 1, '11111100110000000001101111011110111': 1, '11111100110000000010000001000001111': 2, '11111100110000000111110101111111101': 1, '11111100110000001000000000011111111': 1, '11111100110000001100111111011110111': 1, '11111100110000100101100011011111101': 1, '11111100110001000001000011111110111': 1, '11111100110001000100000001111111111': 1, '11111100110010000011111011011101101': 2, '11111100111101011110100000001000111': 1, '11111100111101111110101111111111111': 1, '11111100111101111111111111111111011': 1, '11111100111110011011011111111010001': 2, '11111100111110111111111111111110111': 1, '11111100111111011111111111011100111': 1, '11111100111111011111111111111110111': 1, '11111100111111111101110111101011111': 1, '11111100111111111110111111111111101': 1, '11111100111111111111011110111111101': 1, '11111100111111111111110100000011111': 1, '11111100111111111111111111001111111': 1, '11111100111111111111111111111010111': 1, '11111100111111111111111111111111100': 1, '11111100111111111111111111111111101': 1, '11111101000000000000000001111111111': 1, '11111101000000000000111101111011111': 2, '11111101000000000011111111111111111': 1, '11111101000000100100001001101111101': 1, '11111101000010000000011110000001001': 2, '11111101001011111011111100011011111': 2, '11111101001101100001011110111111111': 1, '11111101001110010011111011110111111': 1, '11111101001110111011101111111111111': 1, '11111101001110111100010111111101111': 1, '11111101001110111111110111111110111': 1, '11111101001110111111110111111111111': 1, '11111101001110111111111111011011111': 1, '11111101001110111111111111111011111': 1, '11111101001111011111111111111111110': 1, '11111101001111111101111111101111111': 1, '11111101001111111101111111111111111': 1, '11111101001111111110001111111111101': 1, '11111101001111111111011111111110111': 1, '11111101001111111111100110000101011': 1, '11111101001111111111101111111110111': 1, '11111101001111111111110111111111011': 1, '11111101001111111111111101111011111': 1, '11111101001111111111111111111101111': 1, '11111101010000000000001010010100011': 1, '11111101010000011000000011111111110': 1, '11111101010010101111011111111010011': 1, '11111101010110101110110110111111111': 1, '11111101010110111111110101111110101': 1, '11111101010110111111110111111111011': 1, '11111101010111111110111111110010111': 1, '11111101010111111111011101011011111': 1, '11111101010111111111100111011011111': 1, '11111101011010111111111111101111111': 1, '11111101011010111111111111111001111': 1, '11111101011010111111111111111111111': 1, '11111101011011110111110111111111101': 1, '11111101011011111011011111011010111': 1, '11111101011011111101111111001011111': 1, '11111101011011111101111111111101011': 1, '11111101011011111111101110011011111': 1, '11111101011011111111111011011111111': 1, '11111101011011111111111101111111011': 1, '11111101011011111111111111001111111': 1, '11111101011011111111111111011110111': 1, '11111101011100000000001000000001011': 1, '11111101011101000000001111011011101': 1, '11111101011101011111111111111001111': 1, '11111101011101110111110110111111111': 1, '11111101011101111011111111101111101': 1, '11111101011101111111111100110110111': 1, '11111101011110001111111111111101101': 1, '11111101011110011101111111101011111': 1, '11111101011110011101111111111111111': 1, '11111101011110011111110111011111111': 1, '11111101011110011111111111111011011': 1, '11111101011110101110110111101001111': 1, '11111101011110101111111101011101011': 1, '11111101011110110000000001111111111': 1, '11111101011110110010110101101100100': 1, '11111101011110110010111111001111111': 1, '11111101011110110110111101101001111': 1, '11111101011110110111010101111010101': 1, '11111101011110110111101101101111111': 1, '11111101011110111011110111111111111': 1, '11111101011110111011111111100000011': 1, '11111101011110111011111111101111111': 1, '11111101011110111011111111111011111': 1, '11111101011110111101110111111011111': 1, '11111101011110111110111111011011111': 1, '11111101011110111111010101111111111': 1, '11111101011110111111011111111111111': 1, '11111101011110111111100101111110111': 1, '11111101011110111111100111110010111': 1, '11111101011110111111101111011011111': 1, '11111101011110111111110111110011111': 1, '11111101011110111111110111111111111': 2, '11111101011110111111111101111011111': 1, '11111101011110111111111111111101101': 1, '11111101011110111111111111111111111': 1, '11111101011111000000000010000001011': 1, '11111101011111000111111111011110110': 1, '11111101011111010100101111111111111': 1, '11111101011111011001111011011111111': 1, '11111101011111011111111011000001110': 1, '11111101011111011111111011111111101': 1, '11111101011111011111111110001111111': 1, '11111101011111011111111110110111111': 1, '11111101011111011111111110111011111': 1, '11111101011111011111111111011111111': 2, '11111101011111011111111111111111111': 2, '11111101011111100000001111111111111': 1, '11111101011111110000001001110111111': 1, '11111101011111110000100111101011111': 1, '11111101011111110001111011111111101': 1, '11111101011111110010111111111111111': 1, '11111101011111110011111010111111110': 1, '11111101011111110110111101111111110': 1, '11111101011111110111110100000000001': 1, '11111101011111110111111111111111111': 4, '11111101011111111010110101111011111': 1, '11111101011111111010111111111111101': 1, '11111101011111111011101101111111111': 1, '11111101011111111011110111001111101': 1, '11111101011111111011110111011010111': 1, '11111101011111111011110111111110111': 1, '11111101011111111011111101011111111': 4, '11111101011111111011111111011111101': 1, '11111101011111111011111111111011111': 1, '11111101011111111011111111111111111': 4, '11111101011111111100111101111011101': 1, '11111101011111111101110110111011111': 1, '11111101011111111110110101011111110': 1, '11111101011111111110111001111111011': 1, '11111101011111111110111101111010110': 1, '11111101011111111110111111111001111': 1, '11111101011111111110111111111011101': 1, '11111101011111111111010011111011111': 1, '11111101011111111111011101111111111': 3, '11111101011111111111011111111011101': 3, '11111101011111111111011111111011111': 1, '11111101011111111111100010111011111': 1, '11111101011111111111100101100011111': 1, '11111101011111111111100111001010111': 1, '11111101011111111111101010110110111': 1, '11111101011111111111101110001111011': 1, '11111101011111111111101111101011111': 1, '11111101011111111111101111110011111': 1, '11111101011111111111101111111111111': 1, '11111101011111111111110101111100101': 1, '11111101011111111111110110101010111': 1, '11111101011111111111110111111011111': 1, '11111101011111111111110111111111101': 2, '11111101011111111111111010001111011': 1, '11111101011111111111111100000000011': 1, '11111101011111111111111101111111111': 2, '11111101011111111111111110011101111': 1, '11111101011111111111111110111011101': 1, '11111101011111111111111111011111111': 1, '11111101011111111111111111101111101': 4, '11111101011111111111111111101111111': 1, '11111101011111111111111111111000110': 1, '11111101011111111111111111111001111': 1, '11111101011111111111111111111101011': 2, '11111101011111111111111111111110111': 1, '11111101011111111111111111111111101': 2, '11111101011111111111111111111111110': 4, '11111101011111111111111111111111111': 8, '11111101100000000000000000000010001': 2, '11111101100000000000001111011111110': 2, '11111101100000000100000111111010111': 2, '11111101100000001011111111110111111': 2, '11111101100000001110101110111111101': 1, '11111101100001000000000000110101001': 2, '11111101100001011000111111111111111': 2, '11111101101011111110101110111010001': 1, '11111101101011111111111111011111111': 1, '11111101101100000000000001101110110': 2, '11111101101100000010111110110111011': 2, '11111101101100111101111101111111111': 1, '11111101101101011011111111111111111': 2, '11111101101110111111101101110111111': 1, '11111101101110111111110111101111111': 1, '11111101101110111111111111011101111': 1, '11111101101110111111111111101111111': 1, '11111101101110111111111111111111111': 1, '11111101101111011111010011111111111': 1, '11111101101111101111001110111111111': 1, '11111101101111110000101111110111111': 1, '11111101101111110110001111111111110': 1, '11111101101111110110111111101111111': 1, '11111101101111110111100001111111101': 1, '11111101101111110111111111101101101': 1, '11111101101111111011011111111111111': 2, '11111101101111111011100101011111111': 1, '11111101101111111011101100011110110': 1, '11111101101111111011101111111111101': 1, '11111101101111111011111111111101111': 2, '11111101101111111110111011111110111': 1, '11111101101111111111011101011111111': 1, '11111101101111111111011110111011111': 1, '11111101101111111111101111101111111': 1, '11111101101111111111101111111011111': 1, '11111101101111111111110111111110111': 1, '11111101101111111111111001101011111': 1, '11111101101111111111111101011111101': 1, '11111101101111111111111101111101101': 1, '11111101101111111111111101111111111': 1, '11111101101111111111111111110111110': 1, '11111101101111111111111111111010011': 1, '11111101101111111111111111111011111': 1, '11111101101111111111111111111111101': 1, '11111101110000001000000111111011111': 1, '11111101110100101011101111101111111': 1, '11111101110110111110111101101011111': 1, '11111101110111011111011111011111111': 1, '11111101110111101111111111001111111': 1, '11111101110111110111100011100111111': 1, '11111101110111111011110010111110101': 1, '11111101110111111100111111001111111': 1, '11111101110111111110111111111111111': 1, '11111101110111111111000110111111111': 1, '11111101110111111111110011111111111': 1, '11111101110111111111110111010111101': 1, '11111101110111111111111111111111111': 3, '11111101111010011011111111011111110': 2, '11111101111010111110111111110010101': 1, '11111101111010111110111111111111111': 1, '11111101111010111111100110111111111': 1, '11111101111010111111101111111101111': 1, '11111101111010111111111111011110111': 1, '11111101111010111111111111101011111': 1, '11111101111011011101111101111110111': 1, '11111101111011101111111111111111111': 1, '11111101111011110100010011110000111': 1, '11111101111011111101111111111101111': 1, '11111101111011111110111111001111111': 1, '11111101111011111111011101101100111': 1, '11111101111011111111100111111111111': 1, '11111101111011111111101111111011101': 1, '11111101111011111111110111011101111': 1, '11111101111011111111111111110110101': 1, '11111101111011111111111111111110111': 1, '11111101111011111111111111111111101': 1, '11111101111100001110110111011111111': 1, '11111101111100111111110110101001111': 1, '11111101111100111111111101111111110': 1, '11111101111100111111111101111111111': 1, '11111101111101011011111111110101111': 1, '11111101111101011111111001001111111': 1, '11111101111101111101111101111111111': 1, '11111101111101111111110111011111111': 1, '11111101111101111111110111101111111': 1, '11111101111101111111110111111111001': 1, '11111101111101111111111111101100111': 1, '11111101111101111111111111110011111': 1, '11111101111101111111111111111001111': 1, '11111101111110000000100001011111111': 1, '11111101111110001101101111111111011': 1, '11111101111110001111011111111111101': 1, '11111101111110011011011111111111111': 2, '11111101111110011100000100000101111': 1, '11111101111110011111011111101110011': 1, '11111101111110011111110010101110101': 1, '11111101111110011111110111111000111': 1, '11111101111110011111111011110101111': 1, '11111101111110011111111111111111111': 1, '11111101111110101010110011011111111': 1, '11111101111110101111111111110110111': 1, '11111101111110101111111111111111111': 1, '11111101111110110010000001011011111': 1, '11111101111110110100111100111111111': 1, '11111101111110110100111111001111111': 1, '11111101111110110100111111011111101': 1, '11111101111110110101110111101111111': 1, '11111101111110110111111111111111101': 1, '11111101111110111001011011111111101': 1, '11111101111110111011101011111111111': 1, '11111101111110111011111111101101111': 1, '11111101111110111011111111111011111': 2, '11111101111110111011111111111110111': 1, '11111101111110111011111111111111101': 1, '11111101111110111100111111101111111': 1, '11111101111110111101100011111011111': 1, '11111101111110111101101111111111111': 1, '11111101111110111101111011111111111': 1, '11111101111110111101111111111101111': 1, '11111101111110111110100111111011100': 1, '11111101111110111111010101111101111': 1, '11111101111110111111010111111011111': 1, '11111101111110111111011100000101111': 1, '11111101111110111111011101111111111': 1, '11111101111110111111100111111010111': 1, '11111101111110111111101111011111111': 1, '11111101111110111111101111100111101': 1, '11111101111110111111101111111010011': 1, '11111101111110111111101111111011101': 1, '11111101111110111111110000000100011': 1, '11111101111110111111110100001111111': 1, '11111101111110111111110111111010111': 1, '11111101111110111111110111111011111': 1, '11111101111110111111110111111101111': 1, '11111101111110111111111011011111111': 1, '11111101111110111111111011110111111': 1, '11111101111110111111111101011110111': 1, '11111101111110111111111101111111110': 1, '11111101111110111111111110110111111': 1, '11111101111110111111111111001111101': 1, '11111101111110111111111111011010111': 1, '11111101111110111111111111011011011': 1, '11111101111110111111111111101111101': 1, '11111101111110111111111111110000111': 1, '11111101111110111111111111110111101': 1, '11111101111110111111111111111011111': 1, '11111101111110111111111111111111111': 1, '11111101111111000101010101110111111': 1, '11111101111111001111110010111111111': 1, '11111101111111010010000000000000010': 1, '11111101111111010011111111010111101': 1, '11111101111111011001110111111111111': 1, '11111101111111011011111101111111111': 2, '11111101111111011101111011111111101': 1, '11111101111111011110111011001111111': 1, '11111101111111011110111110000000001': 1, '11111101111111011111001110111101111': 1, '11111101111111011111001111111011111': 1, '11111101111111011111110011101111111': 1, '11111101111111011111110101011111111': 1, '11111101111111011111110110001011101': 1, '11111101111111011111110111110111101': 1, '11111101111111011111111100111111111': 1, '11111101111111011111111111010111101': 1, '11111101111111011111111111111011111': 1, '11111101111111011111111111111111101': 3, '11111101111111011111111111111111111': 3, '11111101111111100011111111101111111': 1, '11111101111111101011110111011110111': 1, '11111101111111101011111111110001101': 1, '11111101111111101011111111111111101': 1, '11111101111111101101101111011111111': 1, '11111101111111101101111111111111111': 1, '11111101111111101110110111111110111': 1, '11111101111111101111011101111111111': 1, '11111101111111101111100111111011111': 1, '11111101111111101111100111111111110': 1, '11111101111111101111111111110111110': 1, '11111101111111101111111111111011101': 1, '11111101111111110000000000100000011': 1, '11111101111111110011111111001111111': 1, '11111101111111110101011111111110111': 1, '11111101111111110110110111101111111': 1, '11111101111111110110111111111110111': 1, '11111101111111110111110111011101111': 1, '11111101111111110111110111101111111': 1, '11111101111111110111111011111001111': 1, '11111101111111110111111111011111111': 1, '11111101111111110111111111101101111': 1, '11111101111111110111111111101111111': 1, '11111101111111111000000001111111101': 1, '11111101111111111001000111011101111': 1, '11111101111111111001111111011111111': 1, '11111101111111111010111111111111111': 1, '11111101111111111011010000000101101': 2, '11111101111111111011011011111110101': 1, '11111101111111111011011111011111111': 1, '11111101111111111011101101111011111': 1, '11111101111111111011101111011010111': 1, '11111101111111111011101111101111101': 1, '11111101111111111011101111110110111': 1, '11111101111111111011101111110111111': 1, '11111101111111111011110101010011111': 2, '11111101111111111011110111011110111': 1, '11111101111111111011110111011111111': 1, '11111101111111111011110111111101111': 1, '11111101111111111011110111111111111': 1, '11111101111111111011111011111101111': 1, '11111101111111111011111101001111111': 1, '11111101111111111011111101011111101': 2, '11111101111111111011111111001111111': 1, '11111101111111111011111111011101111': 1, '11111101111111111011111111011111111': 1, '11111101111111111011111111111101111': 1, '11111101111111111011111111111111110': 1, '11111101111111111011111111111111111': 2, '11111101111111111100000001110110111': 1, '11111101111111111100000011111011111': 1, '11111101111111111100000111001011111': 1, '11111101111111111101100110101111111': 1, '11111101111111111101101111011111111': 1, '11111101111111111101101111111110111': 1, '11111101111111111101110111001111111': 1, '11111101111111111101110111111101111': 1, '11111101111111111101111011111001111': 1, '11111101111111111101111101111111111': 1, '11111101111111111101111111111101110': 1, '11111101111111111101111111111111101': 3, '11111101111111111110100111101111111': 1, '11111101111111111110101111001110011': 1, '11111101111111111110101111111111111': 1, '11111101111111111110110110011111101': 1, '11111101111111111110111110111101111': 1, '11111101111111111110111110111110111': 1, '11111101111111111110111110111111101': 1, '11111101111111111110111111011011111': 1, '11111101111111111110111111011101010': 1, '11111101111111111110111111011110011': 1, '11111101111111111110111111111011111': 3, '11111101111111111110111111111111100': 1, '11111101111111111110111111111111111': 4, '11111101111111111111010011111111101': 1, '11111101111111111111010111101110101': 1, '11111101111111111111010111111101111': 1, '11111101111111111111010111111111101': 1, '11111101111111111111010111111111111': 3, '11111101111111111111011011100011111': 1, '11111101111111111111011111101110101': 1, '11111101111111111111011111111111110': 1, '11111101111111111111011111111111111': 5, '11111101111111111111100111011111111': 1, '11111101111111111111100111111110101': 1, '11111101111111111111100111111111100': 1, '11111101111111111111101101011111111': 1, '11111101111111111111101111111001101': 1, '11111101111111111111101111111010111': 1, '11111101111111111111101111111111111': 2, '11111101111111111111110011111110111': 1, '11111101111111111111110011111111111': 1, '11111101111111111111110101011111101': 1, '11111101111111111111110101101110111': 1, '11111101111111111111110101111110111': 1, '11111101111111111111110110011011111': 1, '11111101111111111111110110111110111': 3, '11111101111111111111110111011110011': 1, '11111101111111111111110111011111111': 5, '11111101111111111111110111101011111': 3, '11111101111111111111110111101111111': 2, '11111101111111111111110111110111101': 1, '11111101111111111111110111111100011': 1, '11111101111111111111110111111110011': 1, '11111101111111111111110111111111110': 1, '11111101111111111111110111111111111': 5, '11111101111111111111111001111111111': 3, '11111101111111111111111011101100101': 1, '11111101111111111111111011101111110': 1, '11111101111111111111111011111011111': 1, '11111101111111111111111011111110111': 1, '11111101111111111111111101001111111': 1, '11111101111111111111111101011000101': 1, '11111101111111111111111101110011110': 1, '11111101111111111111111101111011111': 1, '11111101111111111111111110111011111': 3, '11111101111111111111111110111111111': 5, '11111101111111111111111111001100011': 1, '11111101111111111111111111001110111': 1, '11111101111111111111111111011011101': 1, '11111101111111111111111111011110101': 1, '11111101111111111111111111011111111': 1, '11111101111111111111111111101111111': 1, '11111101111111111111111111110010001': 1, '11111101111111111111111111110110111': 1, '11111101111111111111111111110111111': 3, '11111101111111111111111111111001001': 1, '11111101111111111111111111111010111': 1, '11111101111111111111111111111101011': 3, '11111101111111111111111111111101101': 5, '11111101111111111111111111111101110': 1, '11111101111111111111111111111110110': 1, '11111101111111111111111111111110111': 2, '11111101111111111111111111111111111': 38, '11111110000000000000000000000001110': 2, '11111110000000000000000000000011101': 2, '11111110000000000000000000110000001': 2, '11111110000000000000000001010000010': 2, '11111110000000000000000001010001101': 2, '11111110000000000000000001011001111': 2, '11111110000000000000000001011011111': 2, '11111110000000000000000001111110111': 1, '11111110000000000000000011001111111': 1, '11111110000000000000000111011111111': 1, '11111110000000000000000111110111100': 1, '11111110000000000000000111111111111': 1, '11111110000000000000001010000001111': 1, '11111110000000000000001011001111111': 1, '11111110000000000000001011111010111': 1, '11111110000000000000001101111111101': 1, '11111110000000000000001111111101111': 1, '11111110000000000000001111111111101': 1, '11111110000000000000010001001111111': 2, '11111110000000000000011111110111101': 2, '11111110000000000000100000000111111': 2, '11111110000000000000100000001111111': 1, '11111110000000000001000011111111110': 1, '11111110000000000001001001000000001': 1, '11111110000000000001001111010101111': 1, '11111110000000000001111001111110111': 2, '11111110000000000001111111111011111': 2, '11111110000000000001111111111111111': 1, '11111110000000000010001011111110111': 1, '11111110000000000010101110111011111': 2, '11111110000000000011011111111110111': 2, '11111110000000000011111011011111101': 2, '11111110000000000100000010000111101': 1, '11111110000000000100001011000011111': 1, '11111110000000000100001011111111111': 1, '11111110000000000100001111111011111': 1, '11111110000000000100111001111111011': 1, '11111110000000000101001001111111111': 1, '11111110000000000101011011111010111': 1, '11111110000000000111000011011110110': 1, '11111110000000000111110111111011111': 1, '11111110000000001000000000000100001': 1, '11111110000000001000000010000111101': 1, '11111110000000001000100011011111111': 1, '11111110000000001011100001011010101': 1, '11111110000000001011111111001111111': 2, '11111110000000001100000001000000000': 1, '11111110000000001100000001111101111': 1, '11111110000000001100011101111111111': 1, '11111110000000001100101111101111101': 1, '11111110000000001110101111111010111': 1, '11111110000000001111011111111110111': 1, '11111110000000001111101011110011110': 1, '11111110000000010000000100000001001': 1, '11111110000000010000111111111010111': 2, '11111110000000010100001111111011111': 1, '11111110000000011100000000110100011': 1, '11111110000000011110100111011111111': 1, '11111110000000100000000000100000101': 2, '11111110000000100000000010011101101': 1, '11111110000000100000111111101111111': 2, '11111110000000100010000101010011111': 2, '11111110000000100100000011111111110': 1, '11111110000000101000000011111111111': 1, '11111110000000101111111111001111101': 1, '11111110000000111111111111111111111': 1, '11111110000001000000000000111111111': 2, '11111110000001000000000001111111101': 1, '11111110000001000000001000011111111': 2, '11111110000001000000001100000001110': 2, '11111110000001000000111111011010111': 2, '11111110000001000001001000010111111': 2, '11111110000001000011110101111111111': 2, '11111110000001001000000000000101011': 1, '11111110000001001000101111110111111': 1, '11111110000001100000000000000111001': 1, '11111110000001100000100010001000000': 1, '11111110000001100000110000111111111': 2, '11111110000001111101111111111111111': 1, '11111110000010001001000011101111111': 1, '11111110000010100000001011000111111': 1, '11111110000011011111111111111111111': 1, '11111110000011100000000010000000101': 1, '11111110000011100100000101011111111': 1, '11111110000011111111111011011111111': 1, '11111110000100000000000001111011111': 2, '11111110000100000000000011010101111': 1, '11111110000100000000000011111111111': 1, '11111110000100000000001011111111111': 1, '11111110000100000000100000111110001': 1, '11111110000100000000111111111011110': 2, '11111110000100100000001001111011011': 1, '11111110000101000000000011011111111': 1, '11111110000101001011101111111111111': 1, '11111110000101011111111111110011111': 1, '11111110000101111110111111111111111': 1, '11111110000110000000000000100001111': 2, '11111110000110100111110111111011101': 1, '11111110000110101111111111110111111': 1, '11111110000111110101111111111011111': 1, '11111110000111111111111111111111111': 1, '11111110001000001000000011011010111': 1, '11111110001100111111111111011111111': 1, '11111110001110111111111111011111111': 1, '11111110001110111111111111101111111': 1, '11111110001111111111111111011010111': 1, '11111110001111111111111111111011110': 1, '11111110010000000000000000000001011': 1, '11111110010000000000000000000001111': 1, '11111110010000000000000000000111111': 1, '11111110010000000000000000011011110': 1, '11111110010000000000000101011011101': 1, '11111110010000000000000111001111111': 1, '11111110010000000000001011111111111': 1, '11111110010000000000100110010101011': 1, '11111110010000000110101111011110111': 1, '11111110010000001010001011101011101': 1, '11111110010000001110101111101111111': 1, '11111110010000001111111110011110101': 1, '11111110010000011111111111111111101': 1, '11111110010000100100001000010010001': 1, '11111110010000100101110111101111101': 1, '11111110010001000000000011111111111': 1, '11111110010001000000100000010001111': 1, '11111110010001000101110110111010101': 1, '11111110010001011111111101111111111': 1, '11111110010001101111111111111011111': 1, '11111110010001111111111111110111111': 1, '11111110010010111111111111111011111': 1, '11111110010011000000001000000011101': 1, '11111110010111101110101111001101111': 1, '11111110011011111011111011011110110': 1, '11111110011110011111111111111101111': 1, '11111110011110101111110111111010111': 1, '11111110011110111110111111001111111': 1, '11111110011110111111110111101111101': 1, '11111110011110111111111010010111101': 1, '11111110011110111111111111011011111': 1, '11111110011111001111111010111111101': 1, '11111110011111010000001111101011111': 1, '11111110011111011111111111101111111': 1, '11111110011111100110011111101111111': 1, '11111110011111101111110111111111111': 1, '11111110011111110000000010000001111': 1, '11111110011111111110110101001111111': 1, '11111110011111111111110111110111111': 1, '11111110011111111111111011111011101': 1, '11111110011111111111111110111110011': 1, '11111110011111111111111111001111111': 1, '11111110011111111111111111111011111': 1, '11111110100000000000000000000000011': 2, '11111110100000000000000001010101011': 2, '11111110100000000000001110100100111': 2, '11111110100000000000100110000001011': 2, '11111110100000000001000010000101011': 2, '11111110100000000001101111111111111': 1, '11111110100000000001111111111111111': 2, '11111110100000000100000001111111111': 2, '11111110100000000100000100111111111': 2, '11111110100000000101110101110111111': 2, '11111110100000001001000111111001111': 2, '11111110100000001010100111111011111': 2, '11111110100000001010100111111111111': 1, '11111110100000001011111111101111101': 2, '11111110100000010000000000101111111': 2, '11111110100000010000000001111111101': 2, '11111110100000010001000010100000011': 2, '11111110100000100000000100100001111': 2, '11111110100000100000000101100111111': 2, '11111110100000100001000100000101111': 2, '11111110100000110001110111111011110': 2, '11111110100001000000000010011111101': 2, '11111110100001000000000111011111111': 2, '11111110100001000000001011101111111': 2, '11111110100001000000110111111011100': 2, '11111110100001000000111111111111110': 2, '11111110100001001110100111111111001': 1, '11111110100001010100010111011111011': 1, '11111110100001011111111111101111111': 1, '11111110100001110110110111111111111': 1, '11111110100001111111111111111111111': 1, '11111110100011100100000000000001011': 2, '11111110100100000000000111101110111': 1, '11111110100100100000001000100101111': 2, '11111110100101000010000101010011111': 2, '11111110100111000000011011100000111': 2, '11111110100111001110101011111111111': 1, '11111110101000000000010000000001111': 3, '11111110101010000000000000000000010': 2, '11111110101110111111111111111101111': 1, '11111110101111101111110101111111111': 1, '11111110101111111110111100011111111': 2, '11111110101111111110111101110111011': 1, '11111110101111111111110111111110111': 1, '11111110110000000000000000001000000': 2, '11111110110000000000000011011111111': 1, '11111110110000000000001111111011110': 2, '11111110110000000100000000100000011': 2, '11111110110000100000010001111110111': 2, '11111110110001111111111110111111111': 1, '11111110110100000000001111111111101': 1, '11111110111011101111111111111011111': 1, '11111110111011111111111111110111111': 1, '11111110111100110011111111011011111': 2, '11111110111110111100111000001111101': 1, '11111110111111011011110111110111101': 2, '11111110111111111011111110111111111': 2, '11111110111111111111111101010111111': 1, '11111110111111111111111110011111111': 1, '11111110111111111111111111101111111': 1, '11111111000000000000010111111111111': 2, '11111111000000100000000000000010011': 1, '11111111000001000000000010100101101': 1, '11111111000010110111110011111001111': 1, '11111111001010111011010001101111111': 2, '11111111001011111111111111111111101': 1, '11111111001110111111111111111011101': 1, '11111111001111011111110110111111011': 1, '11111111001111011111111111111101111': 1, '11111111001111011111111111111110011': 1, '11111111001111110110111111101111111': 1, '11111111001111111001111111111111111': 1, '11111111001111111010111111011111111': 1, '11111111001111111101100111111111101': 1, '11111111001111111111011011111110111': 1, '11111111001111111111011111110111111': 1, '11111111001111111111101111110111111': 1, '11111111001111111111110111111111111': 5, '11111111001111111111111101100101111': 1, '11111111001111111111111111110110111': 1, '11111111001111111111111111111011101': 1, '11111111001111111111111111111101111': 1, '11111111001111111111111111111111111': 1, '11111111010000000000011111101101111': 1, '11111111010110111111011011111111111': 1, '11111111010111001111111111111011101': 1, '11111111010111011111101111111011111': 1, '11111111010111111011111111111111110': 1, '11111111010111111110010010101111111': 1, '11111111010111111111110111111011111': 1, '11111111010111111111111011110111111': 1, '11111111011010101111111111111111111': 1, '11111111011011011111011011111111111': 1, '11111111011011101111111101111111111': 1, '11111111011011110110101111111011111': 1, '11111111011011111001000000000000011': 1, '11111111011011111011111111101111111': 1, '11111111011011111111111011110001101': 1, '11111111011011111111111111111101111': 1, '11111111011011111111111111111110111': 1, '11111111011101011111111101111111111': 1, '11111111011101111010111111111111111': 1, '11111111011101111111110111111111111': 1, '11111111011101111111111111011111111': 1, '11111111011110000100000000001000010': 1, '11111111011110011011111111111111111': 1, '11111111011110011111111011111111111': 1, '11111111011110011111111111001110111': 1, '11111111011110101110111111101111111': 1, '11111111011110101111111111011101111': 1, '11111111011110111010011111111111111': 1, '11111111011110111011011111101110101': 1, '11111111011110111011100111011101111': 1, '11111111011110111011101101001111111': 1, '11111111011110111011110111100101111': 1, '11111111011110111101110110011111111': 1, '11111111011110111101111101111111011': 1, '11111111011110111110011101111011111': 1, '11111111011110111110100111111110011': 1, '11111111011110111110101111111011110': 1, '11111111011110111111011011110011111': 1, '11111111011110111111011111010111111': 1, '11111111011110111111100101011110011': 1, '11111111011110111111101111111011111': 1, '11111111011110111111110111011011111': 1, '11111111011110111111110111111111111': 3, '11111111011110111111111101111110111': 3, '11111111011110111111111110111010111': 1, '11111111011110111111111111101111111': 2, '11111111011110111111111111111110101': 1, '11111111011110111111111111111111110': 1, '11111111011111000011101011011001111': 1, '11111111011111001111111111111111111': 1, '11111111011111010111101010000000001': 1, '11111111011111010111111111111111111': 1, '11111111011111011011111111111111111': 1, '11111111011111011111010111111111111': 1, '11111111011111011111101111111010111': 1, '11111111011111011111111101111111111': 1, '11111111011111011111111111111110111': 1, '11111111011111011111111111111111101': 1, '11111111011111101011111101111100111': 1, '11111111011111101101101010001111111': 1, '11111111011111101101110001011111111': 1, '11111111011111101111111111111111110': 1, '11111111011111110000111111111111110': 1, '11111111011111110100010101111110111': 1, '11111111011111110110001011111110111': 1, '11111111011111110111111100000000010': 1, '11111111011111110111111101011111111': 1, '11111111011111111001110011111111111': 1, '11111111011111111010111111110111111': 1, '11111111011111111010111111111011111': 1, '11111111011111111011000111011011111': 1, '11111111011111111011010111111111111': 1, '11111111011111111011100111111100111': 1, '11111111011111111011101111111111111': 2, '11111111011111111011111011111011111': 1, '11111111011111111011111011111110111': 1, '11111111011111111011111111011111101': 1, '11111111011111111011111111111101111': 1, '11111111011111111011111111111111111': 2, '11111111011111111101100101111111111': 1, '11111111011111111101110111011001111': 1, '11111111011111111110011111111111110': 1, '11111111011111111110111111111010101': 1, '11111111011111111110111111111111111': 2, '11111111011111111111011101110101111': 1, '11111111011111111111011110111111111': 1, '11111111011111111111011111111111111': 2, '11111111011111111111100111111111111': 3, '11111111011111111111101101011110111': 1, '11111111011111111111101101101110111': 1, '11111111011111111111101101111111011': 1, '11111111011111111111101110011111110': 1, '11111111011111111111101110101111111': 1, '11111111011111111111101111111111111': 1, '11111111011111111111110111100011111': 1, '11111111011111111111110111111111101': 2, '11111111011111111111111001110111111': 1, '11111111011111111111111010111111111': 1, '11111111011111111111111100111011011': 1, '11111111011111111111111101011111101': 1, '11111111011111111111111101111001111': 1, '11111111011111111111111110011110111': 1, '11111111011111111111111110101011110': 1, '11111111011111111111111110111110110': 1, '11111111011111111111111111101111111': 1, '11111111011111111111111111110011111': 1, '11111111011111111111111111111001101': 1, '11111111011111111111111111111011110': 1, '11111111011111111111111111111011111': 4, '11111111011111111111111111111110111': 1, '11111111011111111111111111111111111': 21, '11111111100000000000000001001111111': 2, '11111111100000000000001000010110000': 2, '11111111100000000000001111111011111': 2, '11111111100000011111110101011111111': 2, '11111111100000100000000000001000000': 2, '11111111100001001000011111010110111': 2, '11111111101011111010110111110101111': 2, '11111111101011111111110110110111101': 1, '11111111101011111111111111101011001': 1, '11111111101110011111111101001110111': 1, '11111111101110101111110101111111101': 1, '11111111101110111111110111100111101': 1, '11111111101110111111111111100110111': 1, '11111111101110111111111111111111111': 1, '11111111101111011111010111111111111': 1, '11111111101111011111111111000111101': 1, '11111111101111101111111011111111111': 1, '11111111101111110110110101111111111': 1, '11111111101111110111111111101111110': 1, '11111111101111111011111011111111111': 2, '11111111101111111101111110111111111': 1, '11111111101111111110111111110111111': 1, '11111111101111111111111110111111101': 1, '11111111101111111111111111110011101': 1, '11111111101111111111111111111011111': 1, '11111111101111111111111111111101101': 1, '11111111101111111111111111111111111': 5, '11111111110001000010000110111111111': 1, '11111111110110111111110101111111111': 1, '11111111110110111111111010111111111': 1, '11111111110111110110110111100111111': 1, '11111111110111111001111111010111011': 1, '11111111110111111111110111111111111': 1, '11111111110111111111111011111010111': 1, '11111111110111111111111111101111101': 1, '11111111110111111111111111110001111': 1, '11111111110111111111111111111011111': 1, '11111111111010101100100101101111111': 1, '11111111111010111011111111110110101': 2, '11111111111010111111011110111111101': 1, '11111111111010111111011111011101111': 1, '11111111111010111111110111111110001': 1, '11111111111010111111111111001111111': 1, '11111111111011100111111111111100111': 1, '11111111111011101011110111111101111': 2, '11111111111011111101111001101111101': 1, '11111111111011111110111111111111111': 1, '11111111111011111111101111111111111': 1, '11111111111011111111110111010011111': 1, '11111111111011111111111101111001111': 1, '11111111111011111111111110011110111': 1, '11111111111011111111111111101111111': 1, '11111111111011111111111111110111101': 1, '11111111111011111111111111111111110': 1, '11111111111100111010101111111111111': 1, '11111111111100111011101110001100111': 1, '11111111111100111111111101011111111': 1, '11111111111100111111111111101110100': 1, '11111111111101011111011101101111101': 1, '11111111111101111011111101011110111': 2, '11111111111101111110111001111111101': 1, '11111111111101111111001111011110101': 1, '11111111111101111111111011111110111': 1, '11111111111101111111111101101100011': 1, '11111111111101111111111101111101101': 1, '11111111111101111111111110101111111': 1, '11111111111101111111111111111010011': 1, '11111111111101111111111111111011101': 1, '11111111111101111111111111111101111': 1, '11111111111110001111111111111111111': 1, '11111111111110010110111111111111111': 1, '11111111111110011111101101101111111': 1, '11111111111110011111111010111111111': 1, '11111111111110011111111110101111111': 1, '11111111111110011111111111011111111': 1, '11111111111110011111111111101101011': 1, '11111111111110011111111111111111101': 1, '11111111111110100111101101111111111': 1, '11111111111110101111111101011110101': 1, '11111111111110101111111111111111111': 1, '11111111111110110101101111111011111': 1, '11111111111110110110111111011111111': 1, '11111111111110110111110101111110111': 1, '11111111111110110111111011111111101': 1, '11111111111110110111111111101111111': 1, '11111111111110111101011011111111101': 1, '11111111111110111101111011111111101': 1, '11111111111110111110000111111111111': 1, '11111111111110111110011111111111101': 1, '11111111111110111110101111111011101': 1, '11111111111110111111000011111100011': 1, '11111111111110111111011111111110101': 1, '11111111111110111111011111111111111': 1, '11111111111110111111101011111110101': 1, '11111111111110111111101011111111110': 1, '11111111111110111111110001111001111': 1, '11111111111110111111110101011110101': 1, '11111111111110111111110101111111111': 4, '11111111111110111111110111001101101': 1, '11111111111110111111111101101111111': 1, '11111111111110111111111101110011111': 1, '11111111111110111111111101111111111': 1, '11111111111110111111111111101111111': 3, '11111111111110111111111111111101101': 1, '11111111111110111111111111111101111': 1, '11111111111111000000000110010100011': 1, '11111111111111000000001010010111111': 1, '11111111111111001111111111001110111': 1, '11111111111111011001111111110111111': 2, '11111111111111011010100111011111111': 1, '11111111111111011011111111011011111': 2, '11111111111111011011111111111111111': 1, '11111111111111011100101001111111111': 1, '11111111111111011111011111101111111': 1, '11111111111111011111011111111110111': 1, '11111111111111011111111011111111111': 1, '11111111111111011111111110101101111': 1, '11111111111111011111111111011011111': 1, '11111111111111011111111111101010101': 1, '11111111111111101101111111011111111': 1, '11111111111111101111101111110101101': 1, '11111111111111101111110111100111111': 1, '11111111111111101111110111111101111': 1, '11111111111111101111111001111110111': 1, '11111111111111101111111111011011111': 1, '11111111111111101111111111110011111': 1, '11111111111111110000000001100001011': 1, '11111111111111110100010111111111111': 1, '11111111111111110100111111111111111': 1, '11111111111111110101000001000111011': 1, '11111111111111110101101111111001111': 1, '11111111111111110101111111111111111': 1, '11111111111111110111101111111110101': 1, '11111111111111110111101111111111111': 1, '11111111111111110111111001111011110': 1, '11111111111111110111111111010111111': 1, '11111111111111110111111111100111101': 1, '11111111111111110111111111111111111': 3, '11111111111111111000000010111101111': 1, '11111111111111111010011111101101111': 1, '11111111111111111010111111111111111': 1, '11111111111111111011100111110100111': 1, '11111111111111111011100111111111111': 1, '11111111111111111011101111011111110': 1, '11111111111111111011110111111011111': 2, '11111111111111111011110111111101111': 1, '11111111111111111011111011011111111': 1, '11111111111111111011111110011111111': 1, '11111111111111111011111111011111101': 1, '11111111111111111011111111011111111': 4, '11111111111111111011111111101111111': 1, '11111111111111111100001000000000001': 1, '11111111111111111100111111001011011': 1, '11111111111111111101001101011011111': 1, '11111111111111111101010110101111111': 1, '11111111111111111101110011111011011': 1, '11111111111111111101111110101110111': 1, '11111111111111111110011011001111111': 1, '11111111111111111110011011101111111': 1, '11111111111111111110011111101111110': 1, '11111111111111111110011111111101111': 1, '11111111111111111110110111111111110': 1, '11111111111111111110111011101111111': 1, '11111111111111111110111011111111010': 1, '11111111111111111110111111111111110': 1, '11111111111111111110111111111111111': 3, '11111111111111111111000111111111111': 1, '11111111111111111111001110000100011': 1, '11111111111111111111010011001111111': 1, '11111111111111111111011111010011111': 1, '11111111111111111111011111011101111': 3, '11111111111111111111011111100100111': 1, '11111111111111111111011111111001111': 1, '11111111111111111111011111111011111': 1, '11111111111111111111011111111110101': 1, '11111111111111111111011111111111111': 3, '11111111111111111111100011001011111': 1, '11111111111111111111100101111110111': 1, '11111111111111111111100111101111111': 1, '11111111111111111111101010110110111': 1, '11111111111111111111101101101010111': 1, '11111111111111111111101110011111111': 1, '11111111111111111111101111110111111': 1, '11111111111111111111101111111011111': 1, '11111111111111111111110000000100011': 1, '11111111111111111111110000011101101': 1, '11111111111111111111110001101111111': 1, '11111111111111111111110110011111101': 1, '11111111111111111111110111101011111': 1, '11111111111111111111110111110011111': 1, '11111111111111111111110111110111011': 1, '11111111111111111111110111111111111': 3, '11111111111111111111111001011111111': 1, '11111111111111111111111001101101101': 1, '11111111111111111111111010011111111': 1, '11111111111111111111111011100111111': 1, '11111111111111111111111011111001111': 1, '11111111111111111111111011111111001': 1, '11111111111111111111111011111111011': 1, '11111111111111111111111100110111111': 1, '11111111111111111111111101001111111': 1, '11111111111111111111111101011111111': 1, '11111111111111111111111101111011101': 1, '11111111111111111111111101111011111': 1, '11111111111111111111111101111101111': 1, '11111111111111111111111101111111111': 4, '11111111111111111111111110011111111': 1, '11111111111111111111111110100001101': 1, '11111111111111111111111110111110011': 1, '11111111111111111111111111011010111': 1, '11111111111111111111111111011011111': 1, '11111111111111111111111111011111011': 1, '11111111111111111111111111101011111': 3, '11111111111111111111111111101110111': 1, '11111111111111111111111111101111110': 1, '11111111111111111111111111101111111': 4, '11111111111111111111111111110111111': 3, '11111111111111111111111111111001111': 1, '11111111111111111111111111111010011': 1, '11111111111111111111111111111100101': 1, '11111111111111111111111111111101011': 1, '11111111111111111111111111111110101': 1, '11111111111111111111111111111110111': 5, '11111111111111111111111111111111101': 3, '11111111111111111111111111111111110': 3, '11111111111111111111111111111111111': 14}
3. Plot the top bitstrings
Plot the bitstring with the highest counts to see if the hidden bitstring was the mode.
import matplotlib.pyplot as plt
def plot_top_bitstrings(counts_dict, hidden_bitstring=None):
# Sort and take the top 100 bitstrings
top_100 = sorted(counts_dict.items(), key=lambda x: x[1], reverse=True)[
:100
]
if not top_100:
print("No bitstrings found in the input dictionary.")
return
# Unzip the bitstrings and their counts
bitstrings, counts = zip(*top_100)
# Assign colors: purple if the bitstring matches hidden_bitstring, otherwise gray
colors = [
"#680CE9" if bit == hidden_bitstring else "gray" for bit in bitstrings
]
# Create the bar plot
plt.figure(figsize=(15, 8))
plt.bar(
range(len(bitstrings)), counts, tick_label=bitstrings, color=colors
)
# Rotate the bitstrings for better readability
plt.xticks(rotation=90, fontsize=8)
plt.xlabel("Bitstrings")
plt.ylabel("Counts")
plt.title("Top 100 Bitstrings by Counts")
# Show the plot
plt.tight_layout()
plt.show()
The hidden bitstring is highlighted in purple, and it should be the bitstring with the highest number of counts.
plot_top_bitstrings(counts, hidden_bitstring)
Output:
Sampler inputs
Name | Type | Description | Required | Default | Example |
---|---|---|---|---|---|
pubs | QctrlSamplerPubLike or list[QctrlSamplerPubLike] | One or more tuples containing the inputs listed under SamplerPubLike components | Yes | N/A | (circuit, parameter_values) |
instance | str | The hub/group/project to use in that format | No | A Premium access instance is randomly chosen if your account has access to multiple instances | "hub1/group1/project1" |
backend_name | str | The name of the backend | No | The least busy backend that your instance has access to | "ibm_fez" |
options | dict | Input options; see Options section for more details | No | See the Options section for details | {"default_shots": 2048} |
QctrlSamplerPubLike
components (derived from the Qiskit Runtime PUB definition):
- A single circuit defined as a
QuantumCircuit
or in OpenQASM 2.0 or 3.0 string format. - (Optional) A collection of parameter values to bind the circuit against.
- (Optional) An integer representing the shot count, or a dictionary of runtime options containing the shot count. For example:
(circ, None, 123)
or(circ, None, {"shots": 123})
.
Supported backends: The following list of backends are currently supported. If your device is not listed, reach out to Q-CTRL to add support.
- ibm_brisbane
- ibm_brussels
- ibm_cleveland
- ibm_fez
- ibm_kawasaki
- ibm_kyiv
- ibm_nazca
- ibm_quebec
- ibm_rensselaer
- ibm_sherbrooke
- ibm_strasbourg
- ibm_torino
Options:
Name | Type | Description | Default |
---|---|---|---|
session_id | str | An existing Qiskit Runtime session ID | "cw4r3je6f0t010870y3g" |
default_shots | int | The number of shots to use for each circuit | 2048 |
job_tags | list[str] | The list of desired job tags | [] |
Sampler outputs
Name | Type | Description | Example |
---|---|---|---|
N/A | PrimitiveResult | The PrimitiveResult corresponding to the list of input PUBs | PrimitiveResult([PubResult(data=DataBin(c=BitArray(<shape=(), num_shots=2048, num_bits=35>)), metadata={'shots': 2048})], metadata={}) |
Get support
For any questions or issues, contact Q-CTRL.
Next steps
- Request access to Q-CTRL Performance Management