public int[] middleWay(int[] a, int[] b) { int[] middles = {a[1],b[1]}; return middles; }