Problem Description

Commands: SET name value, GET name. Save values by name. GET prints value or NOT_FOUND.

Input Format

First line q. Next q lines.

Output Format

Outputs for GET.

Sample Test Case

Input:
7 SET a 5 SET b 9 GET a GET c SET a 2 GET a GET b
Output:
5 NOT_FOUND 2 9

Constraints

q

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next