Problems > Pangram Check

Pangram Check

Difficulty: 900 2000 ms 128 MB

strings

Does the string contain every letter of the English alphabet at least once?

Input: one line with the string S.

Output: YES or NO.

Constraints:

  • 1 ≤ |S| ≤ 104
  • S contains lowercase English letters

Sample Tests

Input 1
thequickbrownfoxjumpsoverthelazydog
Output 1
YES
Input 2
hello
Output 2
NO

Read the Editorial

Discussion (opens after you solve — no spoilers before)

No comments yet.

Submit Your Solution

Log in or create a free account to run and submit code.