#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int t = 1;
  while (t--) {
    long long int n, i, j, k;
    cin >> n;
    string s;
    for (i = 0; i < n; i++) {
      cin >> s;
      long long int arr[100005];
      long long int a = s.length(), ss = 0;
      for (j = 0; j < a; j++) {
        int p = s[j] - 'a';
        arr[j] = p;
      }
      sort(arr, arr + a);
      long long int flag = 0;
      for (j = 1; j < a; j++) {
        if (arr[j] - arr[j - 1] == 1)
          continue;
        else {
          flag = 1;
          break;
        }
      }
      if (flag == 1)
        cout << "No" << endl;
      else {
        cout << "Yes" << endl;
      }
    }
  }
  return 0;
}
