package com.javarush.task.task04.task0424; /* Три числа */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scane = new Scanner(System.in); int a = scane.nextInt(); int b = scane.nextInt(); int c = scane.nextInt(); if (a==b){ System.out.println("3");} else if (a==c){ System.out.println("2"); } else if (b==c){ System.out.println("1"); } }//напишите тут ваш код } }