Problem Description

Two JSON values are given on two lines. Print YES if both values have the same JavaScript type (treat null as its own type and array as its own type). Else print NO.

Input Format

Line1: JSON A. Line2: JSON B.

Output Format

YES or NO.

Sample Test Case

Input:
null []
Output:
NO

Constraints

Inputs are valid JSON.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next