#include <bits/stdc++.h>
using namespace std;
long long read() {
  long long x = 0, f = 1;
  char c = getchar();
  while (c < '0' || c > '9') {
    if (c == '-') f = -1;
    c = getchar();
  }
  while (c >= '0' && c <= '9')
    x = (x << 3) + (x << 1) + (c ^ 48), c = getchar();
  return x * f;
}
int main() {
  int n = read();
  bool a[26];
  char b[105];
  for (int i = 0; i < n; ++i) {
    memset(a, false, sizeof(a));
    bool ad = false;
    bool lx = true;
    bool head = true;
    bool cf = false;
    cin.getline(b, 105);
    if (strlen(b) > 26) {
      cout << "No\n";
      continue;
    }
    for (int j = 0; j < strlen(b); ++j) {
      int c = b[j] - 'a';
      if (!a[c])
        a[c] = true;
      else {
        cf = true;
        break;
      }
    }
    if (cf)
      cout << "No\n";
    else {
      for (int j = 0; j < 26; ++j) {
        if (!ad && head && a[j]) {
          ad = true;
          head = false;
        } else if (ad && !a[j])
          ad = false;
        else if (!ad && !head && a[j])
          lx = false;
      }
      if (lx)
        cout << "Yes\n";
      else
        cout << "No\n";
    }
  }
}
