Problem Description

Input has a JSON object in line1 and a key in line2. If key is present (own property), print its value as JSON. Else print MISSING.

Input Format

Line1: JSON object. Line2: key.

Output Format

One line output.

Sample Test Case

Input:
{"a":5,"b":{"x":1}} b
Output:
{"x":1}

Constraints

Total input length up to 2e5.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next