error: incompatible types: int cannot be converted to boolean
if(a=b=c){
^
package com.codegym.task.task04.task0417;
/*
Do we have a pair?
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
try( BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) ){
int a = Integer.parseInt(br.readLine());
int b = Integer.parseInt(br.readLine());
int c = Integer.parseInt(br.readLine());
/*boolean q = (a=b)?true:false;
boolean r = (a=c)?true:false;
boolean s = (b=c)?true:false;*/
/*boolean w = (a=b)?true:false;
boolean e = (a=b)?true:false;
boolean t = (a=b)?true:false;*/
// if(q==true || r==true || s==true){
/* if(a==b==c){
System.out.println(""+a +" " +""+b +" " +""+c);
}*/
if(a==b){
System.out.println(""+a +" " +""+b);
}
if(a==c){
System.out.println(""+a +" " +""+c);
}
if(b==c){
System.out.println(""+a +" " +""+b);
}
}
//write your code here
}
}