using System;
public class Test
{
public static void Main()
{
int n = 16;
Console.Write("0x{0:x2} 0x{1:x2}", (n & 0xff00) >> 8, n & 0xff);
byte lowByte = (byte)(n & 0xff);
byte highByte = (byte)(n >> 8 & 0xff);
Console.Write(lowByte);
Console.Write(", ");
Console.Write(highByte);
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCWludCBuID0gMTY7CgkJQ29uc29sZS5Xcml0ZSgiMHh7MDp4Mn0gMHh7MTp4Mn0iLCAobiAmIDB4ZmYwMCkgPj4gOCwgbiAmIDB4ZmYpOwoJCWJ5dGUgbG93Qnl0ZSA9IChieXRlKShuICYgMHhmZik7CgkJYnl0ZSBoaWdoQnl0ZSA9IChieXRlKShuID4+IDggJiAweGZmKTsKCQlDb25zb2xlLldyaXRlKGxvd0J5dGUpOwoJCUNvbnNvbGUuV3JpdGUoIiwgIik7CgkJQ29uc29sZS5Xcml0ZShoaWdoQnl0ZSk7Cgl9Cn0=