word = input("Enter hidden word: ").lower()
sentence = input("Enter character combination: ").lower()

find: bool = True
start_pos = 0

for char in word:
    pos = sentence.find(char, start_pos)
    if pos < 0:
        find = False
        break
    start_pos = pos + 1
print("Yes" if find else "No")


853fab876f6d669dd00ad47029e691a08ade5c78
<mask token>

<mask token>
find: bool = True
<mask token>
for char in word:
    pos = sentence.find(char, start_pos)
    if pos < 0:
        find = False
        break
    start_pos = pos + 1
print('Yes' if find else 'No')

word = input('Enter hidden word: ').lower()
sentence = input('Enter character combination: ').lower()
find: bool = True
start_pos = 0
for char in word:
    pos = sentence.find(char, start_pos)
    if pos < 0:
        find = False
        break
    start_pos = pos + 1
print('Yes' if find else 'No')

word = input("Enter hidden word: ").lower()
sentence = input("Enter character combination: ").lower()

find: bool = True
start_pos = 0

for char in word:
    pos = sentence.find(char, start_pos)
    if pos < 0:
        find = False
        break
    start_pos = pos + 1
print("Yes" if find else "No")

