#include <bits/stdc++.h>
#pragma GCC optimize("O3")
using namespace std;
void init_ios() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
}
int t;
string s;
int main() {
  init_ios();
  cin >> t;
  while (t--) {
    cin >> s;
    sort(s.begin(), s.end());
    for (int i = 0; i + 1 < s.size(); ++i)
      if (s[i] == s[i + 1]) {
        cout << "No\n";
        goto haha;
      }
    if (s.size() == s.back() - s[0] + 1)
      cout << "Yes\n";
    else
      cout << "No\n";
  haha:
    t = t;
  }
}
