using System;
public class Test
{
public static void Main()
{
long k = 6339338941571906146L;
string str = Convert.ToBase64String(BitConverter.GetBytes(k));
Console.WriteLine(str);
long x = BitConverter.ToInt64(Convert.FromBase64String(str), 0);
Console.WriteLine("{0} {1} {2}", k, x, x==k);
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewogICAgICAgICAgICBsb25nIGsgPSA2MzM5MzM4OTQxNTcxOTA2MTQ2TDsKICAgICAgICAgICAgc3RyaW5nIHN0ciA9IENvbnZlcnQuVG9CYXNlNjRTdHJpbmcoQml0Q29udmVydGVyLkdldEJ5dGVzKGspKTsKICAgICAgICAgICAgQ29uc29sZS5Xcml0ZUxpbmUoc3RyKTsKICAgICAgICAgICAgbG9uZyB4ID0gQml0Q29udmVydGVyLlRvSW50NjQoQ29udmVydC5Gcm9tQmFzZTY0U3RyaW5nKHN0ciksIDApOwogICAgICAgICAgICBDb25zb2xlLldyaXRlTGluZSgiezB9IHsxfSB7Mn0iLCBrLCB4LCB4PT1rKTsKCX0KfQ==