Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
		 String S = sc.next();
      	String[] SArray = S.split("");
      if( Arrays.equals(SArray[2], SArray[3])&&Arrays.equals(SArray[4], SArray[5])){
      System.out.println("Yes");}
      else{
      System.out.println("No");}
	}
}

Compiler output:
Main.java:8: error: no suitable method found for equals(String,String)
      if( Arrays.equals(SArray[2], SArray[3])&&Arrays.equals(SArray[4], SArray[5])){
                ^
    method Arrays.equals(long[],long[]) is not applicable
      (argument mismatch; String cannot be converted to long[])
    method Arrays.equals(int[],int[]) is not applicable
      (argument mismatch; String cannot be converted to int[])
    method Arrays.equals(short[],short[]) is not applicable
      (argument mismatch; String cannot be converted to short[])
    method Arrays.equals(char[],char[]) is not applicable
      (argument mismatch; String cannot be converted to char[])
    method Arrays.equals(byte[],byte[]) is not applicable
      (argument mismatch; String cannot be converted to byte[])
    method Arrays.equals(boolean[],boolean[]) is not applicable
      (argument mismatch; String cannot be converted to boolean[])
    method Arrays.equals(double[],double[]) is not applicable
      (argument mismatch; String cannot be converted to double[])
    method Arrays.equals(float[],float[]) is not applicable
      (argument mismatch; String cannot be converted to float[])
    method Arrays.equals(Object[],Object[]) is not applicable
      (argument mismatch; String cannot be converted to Object[])
    method Arrays.<T#1>equals(T#1[],T#1[],Comparator<? super T#1>) is not applicable
      (cannot infer type-variable(s) T#1
        (actual and formal argument lists differ in length))
    method Arrays.<T#2>equals(T#2[],int,int,T#2[],int,int,Comparator<? super T#2>) is not applicable
      (cannot infer type-variable(s) T#2
        (actual and formal argument lists differ in length))
  where T#1,T#2 are type-variables:
    T#1 extends Object declared in method <T#1>equals(T#1[],T#1[],Comparator<? super T#1>)
    T#2 extends Object declared in method <T#2>equals(T#2[],int,int,T#2[],int,int,Comparator<? super T#2>)
Main.java:8: error: no suitable method found for equals(String,String)
      if( Arrays.equals(SArray[2], SArray[3])&&Arrays.equals(SArray[4], SArray[5])){
                                                     ^
    method Arrays.equals(long[],long[]) is not applicable
      (argument mismatch; String cannot be converted to long[])
    method Arrays.equals(int[],int[]) is not applicable
      (argument mismatch; String cannot be converted to int[])
    method Arrays.equals(short[],short[]) is not applicable
      (argument mismatch; String cannot be converted to short[])
    method Arrays.equals(char[],char[]) is not applicable
      (argument mismatch; String cannot be converted to char[])
    method Arrays.equals(byte[],byte[]) is not applicable
      (argument mismatch; String cannot be converted to byte[])
    method Arrays.equals(boolean[],boolean[]) is not applicable
      (argument mismatch; String cannot be converted to boolean[])
    method Arrays.equals(double[],double[]) is not applicable
      (argument mismatch; String cannot be converted to double[])
    method Arrays.equals(float[],float[]) is not applicable
      (argument mismatch; String cannot be converted to float[])
    method Arrays.equals(Object[],Object[]) is not applicable
      (argument mismatch; String cannot be converted to Object[])
    method Arrays.<T#1>equals(T#1[],T#1[],Comparator<? super T#1>) is not applicable
      (cannot infer type-variable(s) T#1
        (actual and formal argument lists differ in length))
    method Arrays.<T#2>equals(T#2[],int,int,T#2[],int,int,Comparator<? super T#2>) is not applicable
      (cannot infer type-variable(s) T#2
        (actual and formal argument lists differ in length))
  where T#1,T#2 are type-variables:
    T#1 extends Object declared in method <T#1>equals(T#1[],T#1[],Comparator<? super T#1>)
    T#2 extends Object declared in method <T#2>equals(T#2[],int,int,T#2[],int,int,Comparator<? super T#2>)
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
2 errors