#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, len;
  char s[105];
  int num[26] = {0};
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> s;
    len = strlen(s);
    sort(s, s + len);
    int flag = 1;
    for (int i = 1; i < len; i++)
      if (s[i] != s[i - 1] + 1) {
        flag = 0;
        break;
      }
    if (flag == 1)
      cout << "Yes\n";
    else
      cout << "No\n";
  }
}
