#include<bits/stdc++.h>
using namespace std;
int main(){
	int n;
	cin>>n;
	string s[n+1];
	for(int i=1;i<=n;i++){
		getline(cin,s[i]);
	}
	cout<<0;
}