#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    string s;
    cin >> s;
    sort(s.begin(), s.end());
    int k = 0;
    for (int i = 1; i < s.size(); ++i)
      if (s[i] - s[i - 1] != 1) {
        k++;
        break;
      }
    if (k == 0)
      cout << "Yes\n";
    else
      cout << "No\n";
  }
  return 0;
}
