#include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; int main(){ ll N, ans=0, dx, dy; cin >> N; vector, ll>> v(N); vector x(N), y(N); for (int i=0; i> x[i] >> y[i]; for (int i=0; i= 2) f=1; ans += f; } cout << ans << endl; return 0; }