Submission
Status:
[PPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: spiwips
Problemset: สตริงซ้ำซ้ำ
Language: python
Time: 0.010 second
Submitted On: 2025-09-29 20:12:58
hm = {}
s = input()
al = []
for i in s:
hm[i] = True
s_2 = input()
for i in s_2:
if i in hm and i not in al:
al.append(i)
print(' '.join(al))