#include #include #include #include #include #include #include #include #include #include #include #include #define vll vector #define vvvl vector #define vvl vector> #define VV(a, b, c, d) vector>(a, vector(b, c)) #define VVV(a, b, c, d) vector(a, vvl(b, vll (c, d))); #define re(c, b) for(ll c=0;c ps; int main() { ll n;std::cin >> n; vector v(n); set bad; re(i, n){ std::cin >> v[i].first >> v[i].second; bad.insert(v[i].first); } for(int i=0;i