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(); int a = Integer.parseInt(sA); int b = Integer.parseInt(sB); int c = Integer.parseInt(sC); 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"); } } }