# -*- coding: utf-8 -*-
# @Time    : 2021/1/6 8:24 下午
# @Author  : qu
# @Email   : quzhenqing@zju.edu.cn
# @File    : A. Diverse Strings.py
from sys import stdin

n = int(stdin.readline())


def check(arr):
    if len(arr) == 1:
        return True
    for i in range(1, len(arr)):
        if not arr[i - 1] + 1 == arr[i]:
            return False
    return True


for _ in range(n):
    string = stdin.readline().strip()
    chars = []
    for c in string:
        chars.append(ord(c))
    chars_sorted = sorted(chars)
    if check(chars_sorted):
        print("Yes")
    else:
        print("No")
