PS:
1. I got the data in org and extra.
2. Next, I searched every letters of each variables and saw if they corresponded.
3. When a different letter apeared, I printed where it was.
4. This was done by adding 'cnt' variable which counted the amount of loops of the search, which meant i in 'i'th character.
5. I outputed 'cnt'
org = input()
extra = input()
cnt = 1
for i in range(len(org)):
if org[i] != extra[i]:
break
cnt += 1
print(cnt)```