The Giggle group of companies is developing a new search engine under the motto "Nothing was lost." As part of the advanced development team, your task is to create a test version of this search "engine."
This test version includes only a subset of the full functionality. Features such as logical expressions in queries and translating found pages to other languages are not supported.
The test version handles three types of queries: addition, deletion, and search. The system maintains a set of known sites, each associated with a set of keywords.
An addition query specifies a keyword and a site name. When executed, the keyword is added to the site's set of keywords. If the keyword is new to the set, the result is OK; if it already exists, the result is Already exist.
A deletion query also specifies a keyword and a site name. When executed, the keyword is removed from the site's set of keywords. If the keyword is not found, the result is Not found; otherwise, it is OK.
A search query includes only a keyword. The result is a lexicographically sorted list of sites containing that keyword, but only the first 10 sites are listed in the output.
You are given a list of queries. Output the result for each query in order.
The first line contains an integer — the number of queries (0 \leq n \leq 2500). The next lines each contain a query.
An addition query has the format:
Add keyword "keyword" to site, where keyword is the keyword, and site is the site name.
A deletion query has the format:
Remove keyword "keyword" from site, where keyword is the keyword, and site is the site name.
A search query has the format:
Search "keyword", where keyword is the keyword.
All keywords (keyword) consist of lowercase Latin letters and are no longer than characters.
All site names (site) consist of lowercase Latin letters, slashes ("/") and periods (".") and are no longer than characters.
For each query, output the result. Follow the format shown in the examples. Separate the results for queries with a line of five equal signs ("=").
Example 1