Common List Elements

Easy

📝 Description

Find common elements between two lists

Input Format

Two space-separated lists of integers

Output Format

List of common elements

Constraints

Lists length ≤ 100

🔍 Sample Input

1 2 3 4 5 2 3 4
            

✅ Sample Output

2 3 4
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run