Language: C

<?php
$n=0;
fscanf(STDIN, "%d", $n);
$array=array();
for($i=0;$i<$n;$i++){
	fscanf(STDIN, "%d %d", $array[$i*2],$array[$i*2+1]);
}
$moji="";
$ans="No";
$moji=implode($array);
if(strpos($moji,"111111")){
	$ans="Yes";
}
if(strpos($moji,"222222")){
	$ans="Yes";
}
if(strpos($moji,"333333")){
	$ans="Yes";
}
if(strpos($moji,"444444")){
	$ans="Yes";
}
if(strpos($moji,"555555")){
	$ans="Yes";
}
if(strpos($moji,"666666")){
	$ans="Yes";
}
echo($ans."\n");
?>

Compiler output:
main.c:1:1: error: expected identifier or '(' before '<' token
    1 | <?php
      | ^
main.c:3:14: error: expected ')' before string constant
    3 | fscanf(STDIN, "%d", $n);
      |              ^~~~~
      |              )
main.c:4:1: warning: data definition has no type or storage class
    4 | $array=array();
      | ^~~~~~
main.c:4:1: error: type defaults to 'int' in declaration of '$array' [-Wimplicit-int]
main.c:4:8: error: implicit declaration of function 'array' [-Wimplicit-function-declaration]
    4 | $array=array();
      |        ^~~~~
main.c:4:8: error: initializer element is not constant
main.c:5:1: error: expected identifier or '(' before 'for'
    5 | for($i=0;$i<$n;$i++){
      | ^~~
main.c:5:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    5 | for($i=0;$i<$n;$i++){
      |            ^
main.c:5:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
    5 | for($i=0;$i<$n;$i++){
      |                  ^~
main.c:8:1: warning: data definition has no type or storage class
    8 | $moji="";
      | ^~~~~
main.c:8:1: error: type defaults to 'int' in declaration of '$moji' [-Wimplicit-int]
main.c:8:7: error: initialization of 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
    8 | $moji="";
      |       ^~
main.c:8:7: error: initializer element is not computable at load time
main.c:9:1: warning: data definition has no type or storage class
    9 | $ans="No";
      | ^~~~
main.c:9:1: error: type defaults to 'int' in declaration of '$ans' [-Wimplicit-int]
main.c:9:6: error: initialization of 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
    9 | $ans="No";
      |      ^~~~
main.c:9:6: error: initializer element is not computable at load time
main.c:10:1: warning: data definition has no type or storage class
   10 | $moji=implode($array);
      | ^~~~~
main.c:10:1: error: type defaults to 'int' in declaration of '$moji' [-Wimplicit-int]
main.c:10:1: error: redefinition of '$moji'
main.c:8:1: note: previous definition of '$moji' with type 'int'
    8 | $moji="";
      | ^~~~~
main.c:10:7: error: implicit declaration of function 'implode' [-Wimplicit-function-declaration]
   10 | $moji=implode($array);
      |       ^~~~~~~
main.c:10:7: error: initializer element is not constant
main.c:11:1: error: expected identifier or '(' before 'if'
   11 | if(strpos($moji,"111111")){
      | ^~
main.c:14:1: error: expected identifier or '(' before 'if'
   14 | if(strpos($moji,"222222")){
      | ^~
main.c:17:1: error: expected identifier or '(' before 'if'
   17 | if(strpos($moji,"333333")){
      | ^~
main.c:20:1: error: expected identifier or '(' before 'if'
   20 | if(strpos($moji,"444444")){
      | ^~
main.c:23:1: error: expected identifier or '(' before 'if'
   23 | if(strpos($moji,"555555")){
      | ^~
main.c:26:1: error: expected identifier or '(' before 'if'
   26 | if(strpos($moji,"666666")){
      | ^~
main.c:29:10: error: expected ')' before '.' token
   29 | echo($ans."\n");
      |          ^
      |          )
main.c:30:1: error: expected identifier or '(' before '?' token
   30 | ?>
      | ^