Your embedded system prepares telemetry packets to send over a wireless link.
Each packet contains a single integer field representing a processed sensor value.
The workflow is:
new int.new int).Just like real firmware, your code must not overwrite heap pointers without freeing them first.
Input Format:
Two integers provided in a single line:
firstValue secondValue
Example
Input:
25 40Output:
40
Explanation:
Constraints:
new and delete exactly as required
Input
25 40
Expected Output
40