What´s wrong here? I have the numbers 929 (underneath each other) in the input section but the output is 1 instead of 2
package de.codegym.task.task04.task0424;
/*
Drei Zahlen
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String sA = reader.readLine();
String sB = reader.readLine();
String sC = reader.readLine();
if (sA!=sB && sA!=sC){
System.out.println("1");
}
else if (sB!=sA && sB!=sC){
System.out.println("2");
}
else if (sC!=sA && sC!=sB){
System.out.println("3");
}
}
}