#K91657. XOR Swap Algorithm

    ID: 38024 Type: Default 1000ms 256MiB

XOR Swap Algorithm

XOR Swap Algorithm

This problem requires you to swap the values of two integers using the XOR swap algorithm. The XOR swap algorithm uses bitwise XOR operations to exchange the contents of two variables without using an additional temporary variable.

Recall that the XOR operation satisfies the following properties:

$$A = A \oplus B$$
$$B = A \oplus B$$
$$A = A \oplus B$$

Your task is to implement this swapping process. When given two integers A and B as input, return the result of swapping them.

inputFormat

The input consists of two space-separated integers provided via standard input (stdin).

outputFormat

Output the two swapped integers separated by a single space to standard output (stdout).

## sample
5 7
7 5