#include <bits/stdc++.h>
using namespace std;
int cnt[30];
int main() {
  int n;
  cin >> n;
  while (n--) {
    string s;
    memset(cnt, 0, sizeof(cnt));
    cin >> s;
    int len = s.size();
    for (int j = 0; j < len; j++) {
      cnt[s[j] - 'a' + 1]++;
    }
    int flag = 0, st, ed;
    for (int i = 1; i <= 26; i++) {
      if (cnt[i] >= 1) {
        st = i;
        break;
      }
    }
    for (int i = 26; i >= 1; i--) {
      if (cnt[i] >= 1) {
        ed = i;
        break;
      }
    }
    for (int i = st; i <= ed; i++) {
      if (cnt[i] != 1) {
        flag = 1;
        break;
      }
    }
    if (!flag) {
      cout << "Yes\n";
    } else {
      cout << "No\n";
    }
  }
}
