import sequtils,strutils,strscans var L = stdin.readline s : string a,b : int f = scanf(L,"$* $i $i", s, a, b) ans = "" s[a] = '0' s[b] = '0' for c in s: if c != '0': ans &= c echo ans