Input
intellect
tell
Output
1
Input
google
apple
Output
0
Input
sirisiri
sir
Output
2