#include <bits/stdc++.h>

#define ll long long
#define pb push_back
#define pii pair<int, int>
#define xx first
#define yy second
#define MAXN 1510

using namespace std;

int n, m;

int main()
{
    cin>>n>>m;
    cout<<0<<endl;
}