ss = input()
t = input()
c = 1
n = len(ss)
for i in range(0, len(t) - n, n):
    if t[i:i + n] == ss:
        c = c + 1
print(c)

fd9c80671f333d8a14dc84732c1238ace7462bc8
<mask token>

<mask token>
for i in range(0, len(t) - n, n):
    if t[i:i + n] == ss:
        c = c + 1
print(c)

ss = input()
t = input()
c = 1
n = len(ss)
for i in range(0, len(t) - n, n):
    if t[i:i + n] == ss:
        c = c + 1
print(c)
