Spadework 2020. 2. 23. 10:30

* Solved 기준 브론즈2 단순 풀이

for _ in range(int(input())):
	i,s = input().split(); i=int(i)
	print(s[:i-1]+s[i:])