import strutils,sequtils var N,K : int S : string cnt = 0 (N,K) = stdin.readline.split.map(parseInt) S = stdin.readline if S[K - 1] == ')': for i in 0..