Apparatus and methods for an improved priority encoder using only static circuit components. The reduction gear mechanism comprises an inscribed gear rotatable interlockingly with the output shaft, and a circumscribed gear in which the inscribed gear is inscribed. The existing material information can be associated with a beverage input of at least one drink product.