PatternFind/SVasi1yev
PatternFind/s02190230
n1string = input()n1check = input()
2pattern = input()2pattern = input()
n3for i in range(len(string) - len(pattern) + 1):n3for i in range(len(check) - len(pattern) + 1):
4    for j in range(len(pattern)):4    for j in range(len(pattern)):
t5        if pattern[j] != '@':t5        if pattern[j] == '@':
6            continue
6            if string[i + j] != pattern[j]:7        elif check[i + j] != pattern[j]:
7                break8            break
8    else:9    else:
9        print(i)10        print(i)
10        break11        break
11else:12else:
12    print(-1)13    print(-1)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op