What is the output of the following snippet of code?
```
L = ['Delhi', 'Mumbai', 'Chennai', 'Bengaluru']
out = []
while L != []:
mini = len(L[0])
city = L[0]
for name in L:
if len(name) < mini:
mini = len(name)
city = name
out.append(city)
# L.remove(city) removes the city from the list L
L.remove(city)
print(out)
```