#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  string s;
  cin >> n;
  for (long long int i = 0; i < n; i++) {
    bool isdiverse = true, iscontinuous = true;
    int a[26] = {0}, count = 0;
    cin >> s;
    for (long long int j = 0; j < s.length(); j++) a[s[j] - 97]++;
    for (long long int j = 0; j < 26; j++) {
      if (a[j] == 1 && iscontinuous) {
        count++;
      }
      if (a[j] == 0 && count > 0) {
        iscontinuous = false;
      }
      if (a[j] > 1) isdiverse = false;
    }
    if (isdiverse && count == s.length())
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
}
