#include <stdio.h>

int main(void) {
	char *str = "1234ABC890";
	unsigned int n;
	sscanf(str+3, "%4x", &n);
	printf("%x\n", n);
	return 0;
}
