static string Posl(int[] a, int[] b)
{
string rez = "";
int[] c = new int[a.Length];
for (int i = 0; i < a.Length; i++)
{
c[i] = a[i] + b[i];
if ((c[i] & 1) == 1)
{
c[i] += 33;
c[i] /= 2;
c[i] %= 33;
}
else
{
c[i] /= 2;
c[i] %= 33;
}
Console.WriteLine(c[i]);
rez += alf[c[i] - 1];
}
return rez;
}
for a, b in zip([30, 11, 7, 24, 29, 11, 15, 18, 15, 32, 9, 3, 10, 1, 26, 24],
[6, 24, 31, 10, 24, 27, 20, 12, 5, 13, 15, 23, 21, 16, 19, 31]):
c = a + b
if c & 1:
c -= 33
print('АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ'[c // 2], end='')
'СБТРЙТБОЙЁЛМЯШЁК'