PROGRAMMING:Find the longest well ordered string (Cixi, 2007)
We call "ABC" or "ACEG" and other similar strings well ordered (because they are arranged in ASCII code), while "ACB" or "ACCD" or "agcd" are not well ordered.
Write a program to find out the longest well ordered string in the input string and output its length
###Input format:
There is a string of characters (length ≤ 255).
###Output format:
Only one line, the length of the longest well ordered string.
###Input example:
```in
23451357912468abc23456
```
###Output example:
```out
eight
```
answer:If there is no answer, please comment
Write a program to find out the longest well ordered string in the input string and output its length
###Input format:
There is a string of characters (length ≤ 255).
###Output format:
Only one line, the length of the longest well ordered string.
###Input example:
```in
23451357912468abc23456
```
###Output example:
```out
eight
```
answer:If there is no answer, please comment