#include<bits/stdc++.h>
using namespace std;
#define int long long 
int n,m,k;
vector<pair<int,int> >g[10030];
int c[20];
int a[20][10010];
signed main(){
	freopen("road.in","r",stdin);
	freopen("road.out","w",stdout);
	cin>>n>>m>>k;
	int u,v,w;

	cout<<0;
	return 0;
}

