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

class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
        long now = System.currentTimeMillis();
        long count = 0;
        long total1 = 0;
        do {
            for (int i = 0 ; i != 1000 ; i++)
                total1 += 11;
            count++;
        } while (System.currentTimeMillis()-now < 2000);
        System.out.println("Primitives: "+count+" x1000 additions completed.");
        now = System.currentTimeMillis();
        count = 0;
        Long total2 = 0L;
        do {
            for (int i = 0 ; i != 1000 ; i++)
                total2 += 11;
            count++;
        } while (System.currentTimeMillis()-now < 2000);
        System.out.println("Wrapper:    "+count+" x1000 additions completed.");
	}
}