Compress the string when lower and upper case are same. In compressed string characters should be in lowercase.
for ex: input aaABBb
For each test case, output the required string.
• 1 ≤ T ≤ 101
• 1 ≤ |s|≤ 1000
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.