#include <stdio.h>

int main()
{
	int c;

	while ((c = fgetc(stdin)) != EOF) {
		printf("%#x ", c);
	}
	return 0;
}
