i did steal this from someone else, but then I followed what they said in the comments and it worked, but it says I did it wrong
package com.codegym.task.task04.task0424;
/*
Three numbers
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(reader.readLine());
int b = Integer.parseInt(reader.readLine());
int c = Integer.parseInt(reader.readLine());
if(a==b) System.out.println("1");
if(a==c) System.out.println("2");
if(b==c) System.out.println("3");
}
}