PROGRAMMING:Calculate the length of the longest string
Write a program to calculate the length of the longest string with n(1### input format:
Enter n in the first line which indicate that there are n strings to be entered, each string taking up one line.
### output format:
Output the length of the longest string
### input sample:
```in
four
blue
yellow
red
green
```
### output sample:
```out
length=6
```
answer:If there is no answer, please comment
Enter n in the first line which indicate that there are n strings to be entered, each string taking up one line.
### output format:
Output the length of the longest string
### input sample:
```in
four
blue
yellow
red
green
```
### output sample:
```out
length=6
```
answer:If there is no answer, please comment