public class Logic { static int minusOne = -1 ; static public void main(String args[] ){ int N = minusOne >> 31 ; System.out.println("N = " + N ); } }