PURPOSE: To vend a ticket without deteriorating the operation efficiency of the ticket vending machine, in the ticket vending machine for vending a ticket, based on input information from a medium, with regard to the ticket vending machine in a totalizator system used for public management games such as a horse race, a bicycle race, an automobile race, etc., and especially, with regard to the ticket vending machine in which voting information desired by a fan is entered in advance into an OMR card, it is read by the ticket vending machine, and a voting ticket corresponding its voting information is vended automatically by investment of the voting amount of money.
CONSTITUTION: The machine is constituted of a deciding part 1 for deciding whether input information of a medium is valid or invalid, a first register 2 for storing the number of invalid data decided in the deciding part 1, a second register 3 for storing an allowable value of the invalid data, a comparing part 4 for comparing an output of a first register 2 and an output of a second register concerned 3, and an input correcting part 5 which can execute an input correction of its invalid data, only when the number of invalid data stored in a first register 2 is allowable by a result of comparison of the comparing part concerned 4.