shifr = 2
letters = ['a', 'b', 'c', 'd', 'e', 'f']
shifr_text = 'acd'
arr_shifr = []
for i in range(len(shifr_text)):
for ii in range(len(letters)):
if shifr_text[i] == letters[ii]:
arr_shifr.append(letters[ii + shifr])
for k in range(len(arr_shifr)):
print(arr_shifr[k], end="")