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0bY2r8QfrteaUOqNcXQMySn+9E7A1ZZIXzNNM6IwPoNYZcHVOhTfq7gaHe+u1J3c6uEYV5EksvWO9083m33B8tc4wqFO71NnxmjjVmdEQx85z1h4Jn65V5XRvnbkLPZ9bRwjt4eXppty8vr/li0vTz8DWpMAjqKlf+x/ZFW5EY4oAAA=='
bin = gzip.decompress(base64.b64decode(gz))
p = os.path.dirname(__file__)
pymain = os.path.join(p, "a.out")
with open(pymain, "wb") as f:
    f.write(bin)
os.chmod(pymain, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR)
if p == "":
    pymain = "./" + pymain
subprocess.call(pymain)


# compiled by pythran
'''
#pythran export main2()
def main2():
    stdin = open('/dev/stdin')
    stdin.readline()
    ans = 100
    for c in map(int, stdin.readline().split()):
        count = 0
        while c & 1 == 0:
            count += 1
            c >>= 1
        ans = min(ans, count)
    print(ans)

'''


### FIXED CODE ###

import subprocess
import gzip, base64, os
import stat

gz = b'H4sIAKqMaF0C/+19C3hUxdn/2c1tuWUDgoabLLhoEAkJCZCg6CawcBY2EElAquJhs7uB6Cab7p7F4KVGk1jWJUpb/63t1/q3+tVe/k9bra1FqxgUCVprIyoF8YIIsktAEBXjBfZ735k5mzlnz4mg7fc8/+fxaJh9f/POzDvvvPPO5VzmNqd7gdlkEpTLLFwuIDVxrIPQDoa3eFMsgJUJg+DfCcI4IRvoLI7PIThUYR/LWgktjC8D/jLhr8xM6TKzQxWOY3xKaOLCLIG/HKrQskxQhYJgS6VDWXevoujuVatVIREGrrwcdTozS9fH0vUxfiUUzIIqVOqXyf5qGV7L6qWE8xnffEFVvFB9UPbh7w1uSm9wO1ShzPhkTborIV22cOZXHguXsfKM9FLA5FdCpR2mBxrqZpVOD/imBRqaIi3TWspmTZtVWhgOFs4gMuUx3oVLlqv0mM9kHslsAOMn7Nt2x3m2PXlDpxZ86Hr9LnHVOXVPY9xslg6bpKMpb23mxEFmk1AqtELWGDcH/q6Avz+9WfL64Ns3Sb/wPv383Y3JHRs6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8/HYWSI5+81qvXTBghpnrVRbUel2IocqC58aIMcPCtL87yypqHLNE/C+p4Jpz8J0OPiTBQc+O1TDS4869IYjpOZCqoSzPEZTK4HuCbNpYuqegaviKiw/o9N8yYmR6dlz51LqqGiAY3bVMhTDWE21o3+2pTpvcgwlg9j5kGkHSmqiBzw4VCt52hGc2hbtP+YyvRiD427Tm8/waNq00vBRB2jfQEBKHeT79Q7u1agRz+7UqUD6wb4aiQY82XmpRN4tlSJhvy/9QF/dfmR0yK6amR4yqpF3gIOktd3Z8KxoPcNNO0VVV3C9o6B1+ojOQa9aLp2zg7VmANVTfF3aycnp1kUO3E2HuaOgtfn7wkFpLYyhoDx6wqtuD0M/xiZH/8Yjq7UeiZ0TqzVO9ZHL2tqlH1asrWJdOMxZROq87rTGOKNDfB0O7lDa9KOHdX1G2jnE6Zmoz2rWy0V9ELo6B93j0w1OHVfnTc/r1XEHX+/0bY2r8QfrteaUOqNcXQMySn+9E7A1ZZIXzNNM6IwPoNYZcHVOhTfq7gaHe+u1J3c6uEYV5EksvWO9083m33B8tc4wqFO71NnxmjjVmdEQx85z1h4Jn65V5XRvnbkLPZ9bRwjt4eXppty8vr/li0vTz8DWpMAjqKlf+x/ZFW5EY4oAAA=='
bin = gzip.decompress(base64.b64decode(gz))
p = os.path.dirname(__file__)
pymain = os.path.join(p, "a.out")
with open(pymain, "wb") as f:
    f.write(bin)
os.chmod(pymain, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR)
if p == "":
    pymain = "./" + pymain
subprocess.call(pymain)


# compiled by pythran
'''
#pythran export main2()
def main2():
    stdin = open('/dev/stdin')
    stdin.readline()
    ans = 100
    for c in map(int, stdin.readline().split()):
        count = 0
        while c & 1 == 0:
            count += 1
            c >>= 1
        ans = min(ans, count)
    print(ans)

'''