public class Boxing {
  public static void main(String[] args) {

    Object[] w = new Object[2];
    
    Integer a = new Integer(3);
    Double b = new Double(5.0);

    w[0] = a;
    w[1] = b;

    double x = 7 + 4 * a.intValue() - b.doubleValue() / 8;

    System.out.println(x);
  }
}
