#include using namespace std; string s;int cnt1,cnt2; main() { cin>>s; for(int i=0;i0?f++:s[j]=='*'&&f==0?f++:s[j]==')'&&f>2?cnt2++:0; } } cout<