Meta interview question

Add two strings like "12.24" + "1.888" remove minimum parathesis to make the string valid