#include <bits/stdc++.h>
using namespace std;
long long int c[256];
int main() {
  long long int d, e, f, i, j, k, l, m, n, o, p, q, r, x = 0, y = 258, ck = 0;
  ios ::sync_with_stdio(false);
  cin.tie(0);
  ;
  string s;
  cin >> n;
  while (n--) {
    long long int c[256] = {0};
    x = 0;
    y = 258;
    ck = 0;
    cin >> s;
    for (int i = 0; i < s.size(); i++) {
      p = int(s[i]);
      c[p]++;
      x = max(p, x);
      y = min(y, p);
    }
    for (j = y; j <= x; j++) {
      if (c[j] == 0) {
        ck = 1;
      } else if (c[j] > 1) {
        ck = 1;
      }
    }
    if (ck == 1)
      cout << "No"
           << "\n";
    else
      cout << "Yes"
           << "\n";
  }
  return 0;
}
