#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int n;
  cin >> n;
  string c = "abcdefghijklmnopqrstuvwxyz";
  while (n--) {
    string s;
    cin >> s;
    sort(s.begin(), s.end());
    int sz = (int)s.size();
    int st = 0, i = 0;
    while (st < 26 && c[st] != s[0]) st++;
    bool can = true;
    while (i < sz && st < 26) {
      if (s[i] != c[st]) {
        can = false;
        break;
      }
      st++;
      i++;
    }
    can = (i == sz);
    cout << (can ? "Yes" : "No") << '\n';
  }
  return 0;
}
