Task: Text to Code
Input (English): Find the semester and year which has the least number of student taking any class.
Output (English): SELECT semester ,  YEAR FROM takes GROUP BY semester ,  YEAR ORDER BY count(*) LIMIT 1