package com.codegym.task.task04.task0424; /* Three numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader x = new BufferedReader(new InputStreamReader(System.in)); String a1= x.readLine(); int a = Integer.parseInt(a1); String b1= x.readLine(); int b = Integer.parseInt(b1); String c1= x.readLine(); int c =Integer.parseInt(c1); if(a!=b && a==c && b==c) System.out.println("1"); else if(a==b && a!=c && b==c) System.out.println("2"); else if(a==b && a==c && b!=c) System.out.println("3"); } }