The table below shows the number of pets kept by the students in a class. ----------------------------------------------------------- No. of pets | No. of students ----------------------------------------------------------- 0 | 9 1 | k 2 | 2 3 | 1 4 | 2 ----------------------------------------------------------- If the median number of pets is 1, what is the smallest value of k ?