please answer me anyone?
package com.codegym.task.task04.task0424;
/*
Three numbers
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader read=new BufferedReader(new InputStreamReader(System.in));
int a=Integer.parseInt(read.readLine());
int b=Integer.parseInt(read.readLine());
int c=Integer.parseInt(read.readLine());
//write your code here
if((a!=b)&&(a!=c))
{ if(b==c)
System.out.println(a);
}
else if(a!=c)
System.out.println(c);
else
System.out.println(b);
}
}