#include <bits/stdc++.h>
using namespace ::std;
int main() {
  int n;
  cin >> n;
  for (int i = 0; i < n; i = i + 1) {
    int p = 0, sum = 0;
    string str;
    string alphabet = "abcdefghijklmnopqrstuvwxyz";
    cin >> str;
    int size = str.size();
    for (auto s : str) {
      for (auto &x : alphabet) {
        if (s == x) x = '1';
      }
    }
    if (size == 1)
      cout << "Yes" << endl;
    else {
      for (int x = 0; x < 26; x = x + 1) {
        if (alphabet[x] == '1')
          p = p + 1;
        else
          p = 0;
        if (p > sum) sum = p;
      }
      if (sum == size)
        cout << "Yes" << endl;
      else
        cout << "No" << endl;
    }
  }
  return 0;
}
