jewels=input() #string of unique characters stones=input() ans=0 for i in jewels: ans+=stones.count(i) print(ans)
To embed this project on your website, copy the following code and paste it into your website's HTML: