@@ -0,0 +1,181 @@
+public int array667(int%5B%5D nums) %7B%0A  int count=0;%0A  for (int i=0; i%3Cnums.length-1; i++) %0A    if (nums%5Bi%5D == 6 && (nums%5Bi+1%5D == 6 %7C%7C nums%5Bi+1%5D == 7))%0A      count++;%0A  return count;%0A%7D%0A

Create array667.java