#include using namespace std; int main() { int n, m; cin >> n >> m; (n ^= m), (m ^= n), (n ^= m); cout << n << " " << m; return 0; }