#include <bits/stdc++.h>
using namespace ::std;
long long int a[26];
vector<long long int> v;
int main() {
  long long int i, j, k, l, n;
  cin >> n;
  string s;
  while (n--) {
    cin >> s;
    l = s.length();
    if (l > 26) {
      cout << "No\n";
      continue;
    }
    for (i = 0; i < l; i++) v.push_back(s[i]);
    sort(v.begin(), v.end());
    j = 0;
    for (i = 0; i < l - 1; i++) {
      if (abs(v[i] - v[i + 1]) != 1) {
        j = 1;
        break;
      }
    }
    if (j == 1) {
      cout << "No\n";
    } else
      cout << "Yes\n";
    v.clear();
  }
  return 0;
}
