What the error?
package com.codegym.task.task04.task0441;
/*
Somehow average
*/
import java.io.*;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int c = scan.nextInt();
if (a==b || a==c) System.out.print(a);
else if (c==b) System.out.print(b);
else if (a<b && b<c) System.out.print(b);
else if (b<a && a<c) System.out.print(a);
else System.out.print(c);
}
}