#include <stdio.h>

int main(int argc, char **argv) {
	int i;
	while (scanf("%02x", &i) == 1) {
		putchar(i);
	}
}

