Complete String

3.8

104 votes
Ad-Hoc, Approved, Basic Programming, Easy, Open
Problem

A string is said to be complete if it contains all the characters from a to z. Given a string, check if it complete or not.

Input
First line of the input contains the number of strings N. It is followed by N lines each contains a single string.

Output
For each test case print "YES" if the string is complete, else print "NO"

Constraints
1 <= N <= 10
The length of the string is at max 100 and the string contains only the characters a to z

Sample Input
3
wyyga
qwertyuioplkjhgfdsazxcvbnm
ejuxggfsts
Sample Output
NO
YES
NO
Time Limit: 3
Memory Limit: 256
Source Limit:
Contributers:
Editor Image

?