public class Simple {
  // Bytecode constants
  private static final int    ICONST_M1   = -1;
  private static final int    ICONST_0    = 0;
  private static final int    ICONST_1    = 1;
  private static final int    ICONST_2    = 2;
  private static final int    ICONST_3    = 3;
  private static final int    ICONST_4    = 4;
  private static final int    ICONST_5    = 5;
  private static final long   LCONST_0    = 0L;
  private static final long   LCONST_1    = 1L;
  private static final float  FCONST_0    = 0F;
  private static final float  FCONST_1    = 1F;
  private static final float  FCONST_2    = 2F;
  private static final double DCONST_0    = 0D;
  private static final double DCONST_1    = 1D;
  private static final double DCONST_W    = Double.MAX_VALUE;
  private static final byte   BYTE        = 0x7F;
  private static final short  SHORT       = 0X7FFF;
  private static final char   CHAR        = 0XFFFF;
    
  public static void main(String[] args) {
    int result = 0; 
    for (int i = 0; i < 100000; ++i) {
      result += makeIntM1();
      result += makeInt0();
      result += makeInt1();
      result += makeInt2();
      result += makeInt3();
      result += makeInt4();
      result += makeInt5();
      result += makeLong0();
      result += makeLong1();
      result += makeFloat0();
      result += makeFloat1();
      result += makeDouble0();
      result += makeDouble1();
      result += makeDoubleW();
      result += (makeObject() == null) ? 0 : 1;
      result += makeByte();
      result += makeShort();
      result += makeChar();
      result += makeBoolean() ? 0 : 1;
    }
    System.out.println(result);
  }

  public static int makeIntM1() {
    return ICONST_M1;
  }

  public static int makeInt0() {
    return ICONST_0;
  }

  public static int makeInt1() {
    return ICONST_1;
  }

  public static int makeInt2() {
    return ICONST_2;
  }

  public static int makeInt3() {
    return ICONST_3;
  }

  public static int makeInt4() {
    return ICONST_4;
  }

  public static int makeInt5() {
    return ICONST_5;
  }

  public static long makeLong0() {
    return LCONST_0;
  }

  public static long makeLong1() {
    return LCONST_1;
  }

  public static float makeFloat0() {
    return FCONST_0;
  }

  public static float makeFloat1() {
    return FCONST_1;
  }

  public static float makeFloat2() {
    return FCONST_2;
  }

  public static double makeDouble0() {
    return DCONST_0;
  }

  public static double makeDouble1() {
    return DCONST_1;
  }

  public static double makeDoubleW() {
    // ldc2_w
    return DCONST_W;
  }

  public static Object makeObject() {
    return null;
  }

  public static byte makeByte() {
    // bipush
    return BYTE;
  }  

  public static short makeShort() {
    // sipush
    return SHORT;
  }

  public static char makeChar() {
    // ldc
    return CHAR;
  }

  public static boolean makeBoolean() {
    return true;
  }  
}

