An algorithm is shown in the pseudocode below.
1 cities ← ['Tokyo', 'London', 'Paris']
2 city1 ← 'Berlin'
3 city2 ← 'Madrid'
4 OUTPUT city1
5 OUTPUT LEN(cities)
6 result ← SUBSTRING(1, 4, city2)
7 OUTPUT result
SUBSTRING returns a portion of a string containing the characters from the start index to the end index inclusive (using 0-based indexing). For example, SUBSTRING(1, 3, 'Python') will return the string 'yth'.
State the output of line 7 from this algorithm.