luckily , the black box came equipped with pictures , and once i narrowed the choices down , it quickly recognized what kind of system we were dealing with , which meant that it knew how many digits the password was .