#K67017. Alphabetical Order Check

    ID: 32549 Type: Default 1000ms 256MiB

Alphabetical Order Check

Alphabetical Order Check

Given a string, determine whether all the alphabetic characters appear in alphabetical order. Only alphabetic characters are considered; non-alphabetic characters are ignored. The comparison is case-insensitive (i.e., treat every letter as lowercase).

For example, if the input is aBcdEFgh, after filtering and converting, the sequence is abcdefgh which is in alphabetical order, so the output should be True. However, for the input abcdzxy, the sequence abcdzxy is not in alphabetical order, and the output should be False.

inputFormat

A single line containing the string s. The string may include letters, digits, spaces, and punctuation.

outputFormat

Print True if the alphabetic characters in the provided string are in alphabetical order (ignoring case) after filtering out non-alphabetic characters; otherwise, print False.

## sample
aBcdEFgh
True