#include<bits/stdc++.h>
using namespace std;
int main(){
	int n,m,k;cin>>n>>m>>k;
	if(n==1){
		cout<<k<<" "<<k;
	}
}