#include <bits/stdc++.h>
using namespace std;
const int mod = 1000000007;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n1;
  cin >> n1;
  while (n1--) {
    string str;
    vector<int> arr(26, 0);
    cin >> str;
    int n = str.size();
    for (int i = 0; i < n; i++) {
      arr[str[i] - 'a']++;
    }
    int flag = 0;
    int flag1 = 0;
    for (int i = 0; i < 26; i++) {
      if (arr[i] > 1) {
        cout << "No" << endl;
        flag1 = 1;
        break;
      } else if (arr[i] == 0 && flag == 1) {
        flag = 2;
      } else if (arr[i] == 1 && flag == 2) {
        cout << "No" << endl;
        flag1 = 1;
        break;
      } else if (arr[i] == 1 && flag == 0) {
        flag = 1;
      }
    }
    if (!flag1) cout << "Yes" << endl;
  }
  return 0;
}
