PatternFind/akozlov
PatternFind/s02190253
f1s = input()f1s = input()
2pattern = input()2pattern = input()
n3for i in range(len(s) - len(pattern) + 1):n3for pattern_start in range(len(s) - len(pattern) + 1):
4    for j in range(len(pattern)):4    for i in range(len(pattern)):
5        if s[i + j] != pattern[j] and pattern[j] != '@':5        if s[pattern_start + i] != pattern[i] and pattern[i] != '@':
6            break6            break
7    else:7    else:
t8        print(i)t8        print(pattern_start)
9        break9        break
10else:10else:
11    print(-1)11    print(-1)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op