#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  for (int i = 0; i < t; i++) {
    string S;
    cin >> S;
    int Diverse = 1;
    vector<char> V;
    int n = S.length();
    for (int i = 0; i < n; i++) {
      V.push_back(S[i]);
    }
    sort(V.begin(), V.end());
    for (int i = 0; i < V.size() - 1; i++) {
      int diff = V[i + 1] - V[i];
      if (diff != 1) {
        Diverse -= 1;
        break;
      }
    }
    if (Diverse == 1) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
  return 0;
}
