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

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

/* 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
	{
		// your code goes here
		String str="哈";
		byte[] big5=str.getBytes("big5");
		byte[] utf8=str.getBytes("utf8");
		byte[] deft=str.getBytes();
		
		System.out.println("======= BIG-5 =======");
		for(byte b:big5) System.out.printf("%02X ",b);
		System.out.println();
		System.out.println("======= UTF-8 =======");
		for(byte b:utf8) System.out.printf("%02X ",b);
		System.out.println();
		System.out.println("======= Default =======");
		for(byte b:deft) System.out.printf("%02X ",b);
		System.out.println();
	}
}