If any person—
he shall be punishable on first conviction with fine which may extend to five hundred rupees, and on any subsequent conviction with imprisonment which may extend to six months or with fine not exceeding one thousand rupees or with both.