#include "bits/stdc++.h"
using namespace std;
typedef long long LL;
typedef pair<int, int> P;
const LL MOD = 998244353LL;
int x[200], y[200];
LL p2[201];
bool used[200][200];
int main() {
	int N;
	cin >> N;
	for (int i = 0; i < N; i++) {
		cin >> x[i] >> y[i];
	}
	p2[0] = 1;
	for (int i = 1; i <= N; i++) p2[i] = (p2[i - 1] * 2) % MOD;
	LL ans = p2[N];
	LL sub = 1 + N;
	for (int i = 0; i < N; i++) {
		for (int j = i + 1; j < N; j++) {
			if (used[i][j]) continue;
			vector<int> v;
			for (int k = 0; k < N; k++) {
				if ((x[j] - x[i])*(y[k] - y[i]) == (y[j] - y[i])*(x[k] - x[i])) {
					v.push_back(k);
				}
			}
			for (int k = 0; k < v.size(); k++) {
				for (int l = 0; l < v.size(); l++) used[v[k]][v[l]] = 1;
			}
			(sub += p2[v.size()]) %= MOD;
			sub = (sub - (1 + v.size()) + MOD) % MOD;
		}
	}
	ans = (ans - sub + MOD) % MOD;
	cout << ans << endl;
}