#K37047. Deep Copy Challenge

    ID: 25889 Type: Default 1000ms 256MiB

Deep Copy Challenge

Deep Copy Challenge

Your task is to implement a deep copy (clone) of a given JSON object. The input is provided in a valid JSON format and can represent a primitive value (number, string, boolean), an array, or an object. Use the formula \( \text{clone} = \text{deep\_copy}(\text{object}) \) to ensure that the clone is completely independent of the original structure. Any modifications made to the clone should not affect the original.

Note: In this problem, performing a deep clone means reconstructing the entire structure rather than merely copying references.

inputFormat

The input is provided via stdin as a valid JSON string. The JSON data may represent a primitive value, an array, or an object.

outputFormat

Output the deep-cloned JSON data to stdout in a valid JSON format. The output must be structurally identical to the input.

## sample
5
5