Task: Text to Code
Input (English): What are the names and types of the dorms that have a capacity greater than 300 or less than 100?
Output (English): SELECT dorm_name ,  gender FROM dorm WHERE student_capacity  >  300 OR student_capacity  <  100