/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;
import java.math.BigInteger;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		BigInteger bi1 = new BigInteger("EF", 16);
		byte[] ba = new byte[] {0, (byte)0xEF};
		BigInteger bi2 = new BigInteger(ba);
		System.out.println("Big Integer1 = " + bi1.toString(16));
		System.out.println("Big Integer2 = " + bi2.toString(16));
	}
}