#include <bits/stdc++.h>
int main() {
  int len;
  scanf("%d", &len);
  while (len--) {
    int alpha[26] = {0};
    char string[101];
    scanf("%s", string);
    int flag = 0, max_ind = -1, min_ind = 1000;
    for (int itr = 0; itr < strlen(string); itr++) {
      int ind = string[itr] - 'a';
      alpha[ind]++;
      if (max_ind < ind) {
        max_ind = ind;
      }
      if (min_ind > ind) {
        min_ind = ind;
      }
    }
    for (int itr = min_ind; itr <= max_ind; itr++) {
      if (alpha[itr] == 0 || alpha[itr] > 1) {
        printf("No\n");
        flag = 1;
        break;
      }
    }
    if (flag == 0) printf("Yes\n");
  }
  return 0;
}
