A shoe comprises a sole, an upper, and a welt. The first logic plane has a plurality of non-volatile memory cells arranged in rows and columns that are interconnected to provide a number of logical outputs. A retaining plate is adapted to be attached to the second element.