Problem Description

You will receive q queries like GET name or SET name value. Maintain variables in a dict. For each GET, output value if present else UNSET.

Input Format

First line q. Next q lines: commands.

Output Format

Outputs for each GET.

Sample Test Case

Input:
6 GET a SET a 10 GET a SET b -2 GET b GET c
Output:
UNSET 10 -2 UNSET

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next