# coding=utf-8
string = '()()())())()()) i love you ()()()()()('
print(string.strip("()"))

d79ba43070f16ea6cc1335db345bf9c52f8658d0
<mask token>

<mask token>
print(string.strip('()'))

string = '()()())())()()) i love you ()()()()()('
print(string.strip('()'))

# coding=utf-8
string = '()()())())()()) i love you ()()()()()('
print(string.strip("()"))
