Teacher writes a number on board and ask 12 students, one by one, "is it present in table 2?" to first student, "is it present in table 3?" to second student, and so on till the twelveth student for table 13.

All student says "yes".

Finally, the teacher remarks that all except consecutive two of the students were right. What was the least number that the teacher wrote on the board? And which two tables that do not contain the number?