#include <bits/stdc++.h>
using namespace std;
int n;
char c[105];
vector<int> ASCII;
int main() {
  cin >> n;
  cin.get();
  for (int i = 1; i <= n; ++i) {
    cin.getline(c, 102);
    int m = strlen(c);
    bool ok = true;
    for (int j = 0; j < m; ++j) {
      ASCII.push_back((int)c[j] - 96);
    }
    sort(ASCII.begin(), ASCII.end());
    for (int j = 0; j < ASCII.size() - 1; ++j)
      if (ASCII[j] + 1 != ASCII[j + 1]) {
        ok = false;
        break;
      }
    if (ok == false)
      cout << "No\n";
    else
      cout << "Yes\n";
    ASCII.erase(ASCII.begin(), ASCII.end());
  }
  return 0;
}
