#include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
bool isDiverse(string &s) {
  int len = s.length();
  sort(s.begin(), s.end());
  for (int i = 0; i < len - 1; i++) {
    if (s[i] == s[i + 1]) {
      return false;
    } else if (s[i + 1] != s[i] + 1) {
      return false;
    }
  }
  return true;
}
int main() {
  ios::sync_with_stdio(false);
  int N;
  string s;
  cin >> N;
  for (int i = 0; i < N; i++) {
    cin >> s;
    if (isDiverse(s)) {
      cout << "Yes\n";
    } else {
      cout << "No\n";
    }
  }
}
vector<string> split_string(string input_string) {
  vector<string> splits;
  stringstream ss(input_string);
  string item;
  while (getline(ss, item, ' ')) {
    splits.push_back(item);
  }
  return splits;
}
