#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, flag = 0;
  char a[105];
  cin >> n;
  for (int i = 0; i < n; i++) {
    int ok = 1;
    char mina = 'z';
    cin >> a;
    if (strlen(a) == 1)
      cout << "Yes" << endl;
    else {
      for (int i = 0; i < strlen(a); i++) {
        if (a[i] < mina) mina = a[i];
      }
      for (int i = 0; i < strlen(a); i++) {
        for (int j = 0; j < strlen(a); j++) {
          if (a[i] == a[j] && i != j) {
            ok = 0;
            break;
          }
        }
      }
      for (int i = 0; i < strlen(a); i++) {
        if (fabs(a[i] - mina) >= strlen(a)) {
          ok = 0;
          break;
        }
      }
      if (ok) cout << "Yes" << endl;
      if (!ok) cout << "No" << endl;
    }
  }
  return 0;
}
