#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  string alp = "";
  for (char t = 'a'; t <= 'z'; ++t) {
    alp += t;
  }
  int n;
  cin >> n;
  while (n--) {
    string s;
    cin >> s;
    sort((s).begin(), (s).end());
    if (alp.find(s) != string::npos) {
      cout << "YES" << endl;
    } else {
      cout << "NO" << endl;
    }
  }
}
