def parseInt(value):
    if (value[:2] == '0x'):
        return int(value, 16)
    else:
        return int(value, 10)
def parseInt(value):
    if (value[:2] == '0x'):
        return int(value, 16)
    else:
        return int(value, 10)