#include<bits/stdc++.h>
#define ll long long
using namespace std;
ll n,m;
ll a;
int main()
{
 	//freopen("employ.in","r",stdin);
 	//freopen("employ.out","w",stdout);
 	ios::sync_with_stdio(false);
 	cin.tie(0);
 	cout.tie(0);
 	cin>>n>>m;
 	cin>>a;
 	cout<<a%998, 244, 353;
	return 0;
}

