New Feature

easy
Pepcoding is trying to add a new feature in NADOS's Editor.
Feature is that you can delete strings following the same pattern in code editor for ex: abb,cdd,eff are of same pattern.
Now they have given you a task to check if the feature is working or not.
So you are given a string of character and a pattern.
You need to return a list of all the words which will be deleted by editor.

Input Format

Integer n(number of words) n Strings Pattern String

Output Format

List of String which will be deleted.

Constraints

1 <= pattern.length <= 20
1 <= words.length <= 50
words[i].length == pattern.length
pattern and words[i] are lowercase English letters.

Notice

NA

Example

Input
3
a
b
c
a
Output
[a, b, c]
Previous
Flip-flip-flip
Next
Odd Lover

Related Questions