Every vote cast for any person whose name does not appear on the ballot labels of the machine as a nominated candidate for office shall be written or affixed or enclosed on or in the appropriate place on the machine provided for that purpose, or it shall not be counted.
Mass. Gen. Laws ch. 54, § 33D