#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  while (n--) {
    string s;
    int x = 0;
    cin >> s;
    int arr[26] = {0};
    int min = INT_MAX;
    int max = 0;
    for (int i = 0; i < s.length(); i++) {
      if (arr[s[i] - 97] == 0) max++;
      arr[s[i] - 97]++;
      if (s[i] - 97 < min) min = s[i] - 97;
    }
    for (int i = min; i < (min + max); i++) {
      if (arr[i] == 0 || arr[i] > 1) {
        cout << "No";
        break;
      }
      x++;
      if (i == (min + max - 1)) {
        cout << "Yes";
        break;
      }
    }
    cout << endl;
  }
}
