Problem Description

Commands: SET name val, UNSET name, GET name. For GET print value or UNSET.

Input Format

First line q. Next q lines.

Output Format

Outputs for GET.

Sample Test Case

Input:
7 SET a 5 GET a UNSET a GET a SET a 9 UNSET b GET b
Output:
5 UNSET UNSET

Constraints

q

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next