#include <bits/stdc++.h>   using namespace std;   void solve() {     long long n;     cout << fixed;     setprecision(15);     double x, y;     cin >> n >> x >> y;     long long p1 = 0, p2 = 0, ans = 0;     set<double> s;     for (long long i = 0; i < n; i++) {       double a, b;       cin >> a >> b;       if (a == x) {         if (s.find((double)1e7) == s.end()) {           s.insert((double)1e7);         }         continue;       }       if (b == y) {         if (s.find((double)1e6) == s.end()) {           s.insert((double)1e6);         }         continue;       }       double slope = (double)(b - y) / (a - x);       if (s.find(slope) == s.end()) {         s.insert(slope);       }     }     cout << (long long)s.size() <<   n ;   }   signed main() {     ios_base ::sync_with_stdio(0);     cin.tie(0);     solve();   }   