import java.math.BigInteger; public class test2 { public static void main(String args[]) { BigInteger x = new BigInteger("-50123044517898350982301255831878893568", 10); System.out.println(x + " " + x.shiftRight(64)); } }