#C14775. Double Integers and Capitalize Strings

    ID: 44461 Type: Default 1000ms 256MiB

Double Integers and Capitalize Strings

Double Integers and Capitalize Strings

Given a JSON array of elements that may include integers, strings, and other types, your task is to process the array by doubling each integer and converting each string to uppercase. Any element that is not an integer or a string should be ignored.

The input is provided as a single line in JSON format, and the output should also be a JSON array. For example, if the input is:

[1, "hello", 3, "world"]

the output should be:

[2, "HELLO", 6, "WORLD"]

inputFormat

The input consists of a single line containing a valid JSON array. The array may contain integers, strings, and other types. Only integers and strings should be processed.

outputFormat

Output a single line with a JSON array after processing: each integer is doubled and each string is capitalized.

## sample
[1, "hello", 3, "world"]
[2, "HELLO", 6, "WORLD"]