#include <bits/stdc++.h>
using namespace std;
int getInd(char c) { return c - 'a'; }
int main() {
  string s;
  int n;
  cin >> n;
  for (int i = 0; i < n; ++i) {
    int used[26] = {0};
    cin >> s;
    for (int j = 0; j < s.length(); ++j) {
      if (!used[getInd(s[j])])
        used[getInd(s[j])] = 1;
      else
        break;
    }
    int k = 0;
    while (used[k] == 0) ++k;
    bool yes = true;
    int cnt = 0;
    while (k < 26 && used[k]) {
      ++k;
      ++cnt;
    }
    if (cnt == s.length())
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
