Detect Inner Linings in Bottle Cap

The judgement output of the amplifier can be used to determine the number of cap inner linings.