#include <iostream> #include <stdio.h> using namespace std; int main() { int N; long long s; scanf("%lld", &s); printf("%llX", s); return 0; }