On the day appointed, the clerk and the chair (or vice-chair or secretary, as the case may be) of the county central committees of the Republican and Democratic parties and other canvassers, or, in case of their absence the state's attorney or sheriff, shall attend, and the parties interested shall appear and determine by lot which of them is to be declared elected; and the clerk shall issue his certificate of election to the person thus declared elected.
10 ILCS 5/22-4