/* 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
	{
        System.out.println((-10) >>> 1);
        System.out.println((-10) >> 1);
        System.out.println((-11) >> 1);
        System.out.println((-11) / 2);
        for (int x = -10; x < 10; ++x)
        {
            if (((x - (x >> 31)) >> 1) != x / 2) System.out.println("Not equal for: " + x);
        }
        
        int bounds = 10000000;
        long start = System.nanoTime();
        for (int i = -bounds; i < bounds; ++i)
        {
            int r = ((i - (i >> 31)) >> 1);
        }
        long run1 = System.nanoTime() - start;
        start = System.nanoTime();
        for (int i = -bounds; i < bounds; ++i)
        {
            int r = i / 2;
        }
        long run2 = System.nanoTime() - start;
        
        System.out.printf("Run 1: %10d\n", run1);
        System.out.printf("Run 2: %10d\n", run2);
	}
}