Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/string-pangramma

Pangram

Easy 1000 ms 128 MB 29%
Share

A string $s$ of lowercase Latin letters and spaces is given. Determine whether it contains all $26$ letters of the Latin alphabet (whether it is a pangram).

Checking that every letter of the alphabet appears in the text

Input

One line containing the string $s$.

Output

YES or NO.

Note

$1 \le |s| \le 10^{5}$
$s$ consists of lowercase Latin letters and spaces
$s$ does not start or end with a space, and words are separated by exactly one space

Examples

Input #1
the quick brown fox jumps over the lazy dog
Output #1
YES
Input #2
salom dunyo
Output #2
NO

Sign in to submit a solution

Signing up is free and takes a minute.