#include <iostream> using namespace std; int main(){ int a,s,d; cin >> a >> s >> d; cout << a << " " << d; return 0; }