#include <bits/stdc++.h>
using namespace std;
const int MAX = 30;
int main() {
  int n;
  cin >> n;
  bool check[MAX];
  while (n--) {
    string s;
    cin >> s;
    memset(check, 0, sizeof check);
    bool ans = true;
    sort(s.begin(), s.end());
    check[s[0] - 'a'] = 1;
    for (int i = 1; i < s.length(); i++) {
      if (!check[s[i] - 'a'] && abs(s[i] - s[i - 1]) == 1) {
        check[s[i] - 'a'] = 1;
      } else
        ans = false;
    }
    cout << (ans ? "Yes\n" : "No\n");
  }
}
