#include <stdio.h>
#include <stdlib.h>
#include <string.h>

void main(void)
{
  char buf[1024];
  char *p;
  unsigned char c;

  while (gets (buf))
    {
      if (buf[0] == ' ')
	{
	  p = buf + 1;
	  for (p = strtok (p, " "); p; p = strtok (NULL, " "))
	    {
	      c = strtoul (p, NULL, 16);
	      printf ("%c", c);
	    }

	}
    }
}
