"SynergyX", a cutting-edge email service, is launching soon! To expedite the process, we need your help designing a registration system prototype.
The system operates as follows:
The first line contains an integer $$$n$$$ ($$$1 \le n \le 10^5$$$), representing the number of operations. The following $$$n$$$ lines each contain an operation in the format: operation username, where operation is either a (add) or d (delete), and username is a non-empty string of length at most 30 consisting of lowercase Latin letters and digits.
For each operation, print the system's response on a separate line. Print OK for successful add operations. Print the suggested username if an add operation encounters a duplicate. Print DELETED for successful delete operations. Print INVALID if a delete operation fails to find the username.
11a abacabaa acabaa abacabaa acabad acabaa acabaa a1111111111d a222222222222222a a222222222222222a a222222222222222a a222222222222222
OK OK abacaba1 acaba1 DELETED OK OK INVALID OK a2222222222222221 a2222222222222222
| Name |
|---|


