#include <vector>
#include <iostream>
#include <map>
using namespace std;
int solution(vector<vector<int> > seat)
{
int answer = -1;
map<pair<int,int>, bool>m;
for(auto iter : seat)
{
m.insert({{iter[0], iter[1]}, true});
}
answer = m.size();
return answer;
}