#include <bits/stdc++.h>
using namespace std;
void solve() {
  string s;
  cin >> s;
  sort(s.begin(), s.end());
  for (int i = 1; i < s.length(); i++) {
    if (abs(((s[i] - 'a') - (s[i - 1] - 'a'))) != 1) {
      cout << "No" << '\n';
      return;
    }
  }
  cout << "Yes" << '\n';
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int t;
  cin >> t;
  while (t--) {
    solve();
  }
}
