Preparando MOJI

Pangram

2000ms 262144K

Description:

A word or a sentence in some language is called a pangram if all the characters of the alphabet of this language appear in it at least once. Pangrams are often used to demonstrate fonts in printing or test the output devices.

You are given a string consisting of lowercase and uppercase Latin letters. Check whether this string is a pangram. We say that the string contains a letter of the Latin alphabet if this letter occurs in the string in uppercase or lowercase.

Input:

The first line contains a single integer n (1 ≤ n ≤ 100) — the number of characters in the string.

The second line contains the string. The string consists only of uppercase and lowercase Latin letters.

Output:

Output "YES", if the string is a pangram and "NO" otherwise.

Sample Input:

12
toosmallword

Sample Output:

NO

Sample Input:

35
TheQuickBrownFoxJumpsOverTheLazyDog

Sample Output:

YES

Informação

Codeforces

Provedor Codeforces

Código CF520A

Tags

implementationstrings

Submetido 0

BOUA! 0

Taxa de BOUA's 0%

Datas 09/05/2023 08:56:32

Relacionados

Nada ainda