(SELECT CITY, LENGTH(CITY) FROM STATION GROUP BY CITY HAVING LENGTH(CITY) <= (SELECT MIN(LENGTH(CITY)) FROM STATION) LIMIT 1) UNION (SELECT CITY, LENGTH(CITY) FROM STATION GROUP BY CITY HAVING LENGTH(CITY) >= (SELECT MAX(LENGTH(CITY)) FROM STATION) LIMIT 1);