Given a string s, repeatedly remove two adjacent equal characters until no such pair remains, and return the final string. The input is JSON {s}.
Input: JSON {s}.
Output: String — the reduced string.
Input: {"s":"abbaca"}
Output: ca
Explanation: Remove bb, then aa, leaving ca.Input: {"s":"azxxzy"}
Output: ay
Explanation: Remove xx then zz.Input: {"s":"aaaa"}
Output:
Explanation: All pairs cancel.0<=|s|<=10^5