#your code goes here
text = input('')
letter = input('')
lettercount = 0
for i in text:
    if i == letter:
        lettercount+=1


print(int((lettercount/len(text))*100))

2698fe939c7e0a28fd798bb8c32598657b801805
<mask token>

<mask token>
for i in text:
    if i == letter:
        lettercount += 1
print(int(lettercount / len(text) * 100))

text = input('')
letter = input('')
lettercount = 0
for i in text:
    if i == letter:
        lettercount += 1
print(int(lettercount / len(text) * 100))

#your code goes here
text = input('')
letter = input('')
lettercount = 0
for i in text:
    if i == letter:
        lettercount+=1


print(int((lettercount/len(text))*100))
