#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  string s;
  int delta, count;
  while (t != 0) {
    count = 0;
    cin >> s;
    int a[26] = {0};
    for (int i = 0; i < s.length(); i++) {
      a[s[i] - 'a']++;
    }
    for (int i = 0; i < 26; i++) {
      if (a[i] == 1) {
        count++;
      }
      if (a[i] == 0 && count > 0) {
        break;
      }
    }
    if (count == s.length()) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
    t--;
  }
}
