Problem 1004 Will input string only contain letters from 'A' to 'H'?

cgy4ever | 2014-07-27 19:54:03Author
"Input a string S. the length of S is not large than 1000000."