Language: Java

import java.util.*;
public class Main{
	public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
      	int s1 = sc.nextInt();
      	int s2 = sc.nextInt();
      	int s3 = sc.nextInt();
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
		System.out.println(s1+s2+s3);
      	
        } 
    }
}

Compiler output:
Main.java:8: error: illegal start of expression
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	^
Main.java:8: error: not a statement
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	 ^
Main.java:8: error: ';' expected
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	   ^
Main.java:8: error: not a statement
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	    ^
Main.java:8: error: ';' expected
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	      ^
Main.java:8: error: not a statement
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	       ^
Main.java:8: error: ';' expected
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	         ^
Main.java:8: error: ']' expected
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	                         ^
Main.java:8: error: not a statement
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	                       ^
Main.java:8: error: ']' expected
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	                                  ^
Main.java:8: error: not a statement
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	                                ^
Main.java:8: error: ']' expected
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	                                           ^
Main.java:8: error: not a statement
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	                                         ^
Main.java:8: error: ']' expected
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	                                                    ^
Main.java:8: error: not a statement
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	                                                  ^
Main.java:8: error: ']' expected
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	                                                             ^
Main.java:8: error: not a statement
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	                                                           ^
Main.java:8: error: ']' expected
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	                                                                      ^
Main.java:8: error: not a statement
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	                                                                    ^
Main.java:8: error: ']' expected
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	                                                                               ^
Main.java:8: error: not a statement
      	[s1,s2,s3] == [0,0,0]or[1,0,0]or[0,1,0]or[0,0,1]or[1,1,0]or[1,0,1]or[0,1,1]or[1,1,1]
      	                                                                             ^
Main.java:13: error: class, interface, enum, or record expected
}
^
22 errors