solve 'brackets2' (lacti)