#include <bits/stdc++.h>
using namespace std;
int main() {
  char str[200];
  int i, n, cnt = 0;
  cin >> n;
  while (n > 0) {
    cin >> str;
    int k = strlen(str);
    sort(str, str + k);
    for (i = 0; i < k; i++) {
      if (str[i + 1] - str[i] == 1) cnt++;
    }
    if (cnt == k - 1)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
    cnt = 0;
    n--;
  }
  return 0;
}
