class XOR{
    public static void main(String[] args) {
        byte k =22 ;            //00010110
        byte t =37;             //00100101
    //  byte error=t^k;   error incompatable type possible lossy conversion.
        byte good =(byte)(t^k); //00110011
        System.out.println(good);
        System.out.println((t^k)^k);
    }
}

//Output///
//51
//37