n, m, k = map(int, input().split())
s = input()
ab = []
for i in range(m):
    ai, bi = map(int, input().split())
    ab.append([ai, bi])

#%%
print(n, m, k, s, ab)


#%%
n, m, k = 5, 7, 9
s = "BRRBR"
ab = [
    [3, 1],
    [5, 2],
    [4, 2],
    [2, 1],
    [5, 4],
    [5, 1],
    [3, 2]]
