EasyRating 1000
Hidden Subsequence
Print YES if the first string can be obtained from the second by deleting some characters.
Input
Two lines: s, then t.
Output
YES or NO.
Sample 1
Input
abc ahbgdc
Output
YES
Sample 2
Input
axc ahbgdc
Output
NO
Output appears here