import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		SortedSet<int[]> s = new TreeSet<int[]>(new Comparator<int[]>(){
			public int compare(int[] a, int[] b) {
				return b[0] - a[0];
			}
		});
		int[] a = new int[]{1, 2};
		int[] b = new int[]{1, 3};
		s.add(a);
		s.add(b);
		System.out.println(s.size());
	}
}