using System;
public class Program
{
public static void Main()
string a = Console.ReadLine();
Console.WriteLine("{0:x}", a);
}