onemon = ["kim", "lee", "park"]
twomon = ["choi", "lee", "kim"]

common = set(onemon).intersection(twomon)
common_sorted = sorted(common)
p = len(common_sorted)
print(f"{p}명 {common_sorted}")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: