Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();    	
      	int y = sc.nextInt();
        if(x=1 || x=3 || x=5 || x=7 || x=8 || x=10 || x=12){
      	    if(y=1 || y=3 || y=5 || y=7 || y=8 || y=10 || y=12){
      	        System.out.println(Yes);
      	    }else{
      	        System.out.println(No);
      	    }
      	}if(x=2 || x=6 || x=9 || x=11){
      	    if(y=2 || y=6 || y=9 || y=11){
      	        System.out.println(Yes);
      	    }else{
      	        System.out.println(No);
      	    }
      	}
    }
}


Compiler output:
Main.java:7: error: bad operand types for binary operator '||'
        if(x=1 || x=3 || x=5 || x=7 || x=8 || x=10 || x=12){
               ^
  first type:  int
  second type: int
Main.java:7: error: bad operand types for binary operator '||'
        if(x=1 || x=3 || x=5 || x=7 || x=8 || x=10 || x=12){
                      ^
  first type:  int
  second type: int
Main.java:7: error: bad operand types for binary operator '||'
        if(x=1 || x=3 || x=5 || x=7 || x=8 || x=10 || x=12){
                             ^
  first type:  int
  second type: int
Main.java:7: error: bad operand types for binary operator '||'
        if(x=1 || x=3 || x=5 || x=7 || x=8 || x=10 || x=12){
                                    ^
  first type:  int
  second type: int
Main.java:7: error: bad operand types for binary operator '||'
        if(x=1 || x=3 || x=5 || x=7 || x=8 || x=10 || x=12){
                                           ^
  first type:  int
  second type: int
Main.java:7: error: bad operand types for binary operator '||'
        if(x=1 || x=3 || x=5 || x=7 || x=8 || x=10 || x=12){
                                                   ^
  first type:  int
  second type: int
Main.java:7: error: incompatible types: int cannot be converted to boolean
        if(x=1 || x=3 || x=5 || x=7 || x=8 || x=10 || x=12){
            ^
Main.java:8: error: bad operand types for binary operator '||'
      	    if(y=1 || y=3 || y=5 || y=7 || y=8 || y=10 || y=12){
      	           ^
  first type:  int
  second type: int
Main.java:8: error: bad operand types for binary operator '||'
      	    if(y=1 || y=3 || y=5 || y=7 || y=8 || y=10 || y=12){
      	                  ^
  first type:  int
  second type: int
Main.java:8: error: bad operand types for binary operator '||'
      	    if(y=1 || y=3 || y=5 || y=7 || y=8 || y=10 || y=12){
      	                         ^
  first type:  int
  second type: int
Main.java:8: error: bad operand types for binary operator '||'
      	    if(y=1 || y=3 || y=5 || y=7 || y=8 || y=10 || y=12){
      	                                ^
  first type:  int
  second type: int
Main.java:8: error: bad operand types for binary operator '||'
      	    if(y=1 || y=3 || y=5 || y=7 || y=8 || y=10 || y=12){
      	                                       ^
  first type:  int
  second type: int
Main.java:8: error: bad operand types for binary operator '||'
      	    if(y=1 || y=3 || y=5 || y=7 || y=8 || y=10 || y=12){
      	                                               ^
  first type:  int
  second type: int
Main.java:8: error: incompatible types: int cannot be converted to boolean
      	    if(y=1 || y=3 || y=5 || y=7 || y=8 || y=10 || y=12){
      	        ^
Main.java:9: error: cannot find symbol
      	        System.out.println(Yes);
      	                           ^
  symbol:   variable Yes
  location: class Main
Main.java:11: error: cannot find symbol
      	        System.out.println(No);
      	                           ^
  symbol:   variable No
  location: class Main
Main.java:13: error: bad operand types for binary operator '||'
      	}if(x=2 || x=6 || x=9 || x=11){
      	        ^
  first type:  int
  second type: int
Main.java:13: error: bad operand types for binary operator '||'
      	}if(x=2 || x=6 || x=9 || x=11){
      	               ^
  first type:  int
  second type: int
Main.java:13: error: bad operand types for binary operator '||'
      	}if(x=2 || x=6 || x=9 || x=11){
      	                      ^
  first type:  int
  second type: int
Main.java:13: error: incompatible types: int cannot be converted to boolean
      	}if(x=2 || x=6 || x=9 || x=11){
      	     ^
Main.java:14: error: bad operand types for binary operator '||'
      	    if(y=2 || y=6 || y=9 || y=11){
      	           ^
  first type:  int
  second type: int
Main.java:14: error: bad operand types for binary operator '||'
      	    if(y=2 || y=6 || y=9 || y=11){
      	                  ^
  first type:  int
  second type: int
Main.java:14: error: bad operand types for binary operator '||'
      	    if(y=2 || y=6 || y=9 || y=11){
      	                         ^
  first type:  int
  second type: int
Main.java:14: error: incompatible types: int cannot be converted to boolean
      	    if(y=2 || y=6 || y=9 || y=11){
      	        ^
Main.java:15: error: cannot find symbol
      	        System.out.println(Yes);
      	                           ^
  symbol:   variable Yes
  location: class Main
Main.java:17: error: cannot find symbol
      	        System.out.println(No);
      	                           ^
  symbol:   variable No
  location: class Main
26 errors