#include <bits/stdc++.h>
int main(void) {
  char str[200];
  int len;
  int i;
  while (scanf("%s", str) != EOF) {
    len = strlen(str);
    if (len % 2 == 1) {
      continue;
    }
    i = 0;
    while (str[i] != '\0') {
      switch (str[i] * 5 + str[i + 1]) {
        case 32:
          printf(".");
          break;
        case 33:
          printf("?");
          break;
        case 34:
          printf("!");
          break;
        case 35:
          printf(" ");
          break;
        default:
          printf("%c", str[i] * 5 + str[i + 1] + 91);
          break;
      }
    }
    printf("\n");
  }
  return 0;
}
