#include <iostream>
using namespace std;

// write your code here......
void swap_int(int &a,int &b)
{
    int temp=a;
    a=b;
    b=temp;
}

int main() {

    int m, n;
    cin >> m;
    cin >> n;

    // write your code here......
    swap_int(m,n);直接传入实参

    cout << m << " " << n << endl;

    return 0;
}