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