[Failed] "The program should display the ordinal number of the number that is different from the others."
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 && a != c) {
            if (b == c) {
                System.out.println(1);
            }
        } else if (b != a && b != c) {
            if (a == c) {
                System.out.println("2");
            }
        } else if (c != a && c != b) {
            if (c == b) {
                System.out.println(3);
            }
        }


    }
}