#include <bits/stdc++.h>
using namespace std;
const char IO_MODE = 0;
inline long long ReadInt() {
  long long x = 0, f = 1;
  char ch = getchar();
  while (ch < '0' || ch > '9') {
    if (ch == '-') f = -1;
    ch = getchar();
  }
  while (ch >= '0' && ch <= '9') {
    x = x * 10 + ch - '0';
    ch = getchar();
  }
  return x * f;
}
inline void WriteInt(long long x) {
  char CH[20];
  int Num = 0;
  if (!x) {
    putchar('0');
    return;
  }
  while (x > 0) CH[++Num] = x % 10, x /= 10;
  while (Num) putchar(CH[Num--] + 48);
}
inline void out(int x) {
  if (IO_MODE & 1)
    WriteInt(x);
  else
    printf("%i", x);
}
template <typename... Args>
inline void out(int x, Args... args) {
  out(x);
  putc(' ', stdout);
  out(args...);
}
inline void in(int &x) {
  if (IO_MODE & 2)
    x = ReadInt();
  else
    scanf("%i", &x);
}
template <typename... Args>
inline void in(int &x, Args &...args) {
  in(x);
  in(args...);
}
inline void outll(long long x) {
  if (IO_MODE & 1)
    WriteInt(x);
  else
    printf("%I64d", x);
}
template <typename... Args>
inline void outll(long long x, Args... args) {
  outll(x);
  putc(' ', stdout);
  outll(args...);
}
inline void inll(long long &x) {
  if (IO_MODE & 2)
    x = ReadInt();
  else
    scanf("%I64d", &x);
}
template <typename... Args>
inline void inll(long long &x, Args &...args) {
  inll(x);
  inll(args...);
}
int aa, bb, cc, dd, ee, ff, gg, hh, ii, jj, kk, mm, nn, oo, pp, qq, rr, ss, tt,
    uu, vv, ww, xx, yy, zz;
int tc, ty;
int cnt[33];
string s;
int n;
int main() {
  in(n);
  while (n--) {
    memset(cnt, 0, sizeof cnt);
    cin >> s;
    for (auto x : s) {
      ff = 1;
      if (cnt[x - 'a']) {
        ff = 0;
        break;
      } else
        cnt[x - 'a']++;
    }
    if (!ff) {
      printf("No");
      putc('\n', stdout);
      continue;
    }
    int pre = -1;
    for (int i = 0; i < 26; i++) {
      if (cnt[i]) {
        if ((pre == -1 || pre == i - 1))
          ff = 1;
        else {
          ff = 0;
          break;
        }
        pre = i;
      }
    }
    if (!ff) {
      printf("No");
      putc('\n', stdout);
      continue;
    }
    printf("Yes");
    putc('\n', stdout);
    if (!ff) {
      printf("No");
      putc('\n', stdout);
      continue;
    }
  }
}
