#include <iostream>
using namespace std;

int main() {

    int a = 0;
    int b = 0;
    cin >> a;
    cin >> b;

    //write your code here.......
    swap(a,b);

    cout << a <<' '<< b;
    
    return 0;
}