/// created by ricpe13 ///
#include <bits/stdc++.h>
using namespace std;

int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr);
    cout.tie(nullptr);
    /////////////////////////////////

    int n;
    cin >> n;
    for (int i=0;i<n;i++){
        int a,b;
        cin >> a >> b;
    }
    cout << "0" << endl;
	return 0;
}