def match(s1,s2):
    count=0
    s=[]
    for char in s1:
        if char in s2:
            s.append(char)
            count+=1
    print(count)
    return s

s1="snigdha"
s2="sniwqwq"
match(s1,s2)
5a0660f2733991a0a52b710245bdf23d9351c217
<mask token>

def match(s1, s2):
    count = 0
    s = []
    for char in s1:
        if char in s2:
            s.append(char)
            count += 1
    print(count)
    return s


<mask token>

def match(s1, s2):
    count = 0
    s = []
    for char in s1:
        if char in s2:
            s.append(char)
            count += 1
    print(count)
    return s


<mask token>
match(s1, s2)

def match(s1, s2):
    count = 0
    s = []
    for char in s1:
        if char in s2:
            s.append(char)
            count += 1
    print(count)
    return s


s1 = 'snigdha'
s2 = 'sniwqwq'
match(s1, s2)

def match(s1,s2):
    count=0
    s=[]
    for char in s1:
        if char in s2:
            s.append(char)
            count+=1
    print(count)
    return s

s1="snigdha"
s2="sniwqwq"
match(s1,s2)