Pill Identification by Imprints: Z3 or P