#include <stdio.h>
#include <stdlib.h>
int main (void)
{
	int num;
	scanf("%d",&num);
	printf("%d的十六進位是%x\n",num,num);
	
	return 0;
	
	
}