package com.javarush.task.task04.task0424; /* Три числа */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String chislo1 = reader.readLine(); String chislo2 = reader.readLine(); String troyka = reader.readLine(); int a = Integer.parseInt(chislo1); int b = Integer.parseInt(chislo2); int c = Integer.parseInt(troyka);//напишите тут ваш код if (a != b && a != c) System.out.println("1"); else if (b != a && b != c) System.out.println("2"); else if (c != a && c != b) System.out.println("3"); else System.out.println();