s1, s2 = input().lower(), input().lower() isMatch = [[False] * (len(s2) + 1)] isMatch[0][0] = True for i in range(1, len(s1) + 1): isMatch.append([False] * (len(s2) + 1)) if s1[i - 1] == '*': isMatch[i][0] = isMatch[i - 1][0] for j in range(1, len(s2) + 1): if s1[i - 1] ...