keys = list(map(str, input().split()))
values = list(map(int, input().split()))
rm_str = input()

dicts = {key: value for key, value in zip(keys, values)}
dicts[rm_str] = dicts[rm_str] - 1

print(' '.join([str(n) for n in list(dicts.values())])) keys = list(map(str, input().split())) keys list(map(str, input().split())) list map(str, input().split()) map str input().split() ().split () input split values = list(map(int, input().split())) values list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split rm_str = input() rm_str input() input key: value for key, value in zip(keys, values) for key, value in zip(keys, values) key value zip(keys, values) zip keys values for key, value in zip(keys, values) key value dicts = {key: value for key, value in zip(keys, values)} dicts {key: value for key, value in zip(keys, values)} dicts[rm_str] = dicts[rm_str] - 1 dicts[rm_str] dicts rm_str dicts[rm_str] - 1 dicts[rm_str] dicts rm_str 1 str(n) for n in list(dicts.values()) for n in list(dicts.values()) n list(dicts.values()) list dicts.values() dicts.values dicts values for n in list(dicts.values()) str(n) str n print(' '.join([str(n) for n in list(dicts.values())])) print ' '.join([str(n) for n in list(dicts.values())]) ' '.join ' ' join [str(n) for n in list(dicts.values())] rm_str = input() input() rm_str values = list(map(int, input().split())) list(map(int, input().split())) values dicts = {key: value for key, value in zip(keys, values)} {key: value for key, value in zip(keys, values)} dicts keys = list(map(str, input().split())) list(map(str, input().split())) keys
keys = list(map(str, input().split()))
values = list(map(int, input().split()))
rm_str = input()

dicts = {key: value for key, value in zip(keys, values)}
dicts[rm_str] = dicts[rm_str] - 1

print(' '.join([str(n) for n in list(dicts.values())]))
