407046: GYM102697 017 Chem Lab: Cross the Charges

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

017. Chem Lab: Cross the Chargestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output

While preparing for Chemistry Lab in Science Olympiad, you are taught to "cross your charges" when calculating the molecular coefficients given the charges: using the charges of two bonded ions, you swap the two values to obtain the molecular coefficients. For example, a molecule made of two ions with charges of 4 and 3 would have coefficients of 3 and 4, respectively.

Input

The only line of input contains two space-separated integers a and b representing the charges of a and b, respectively.

Output

Output two space-separated integers c and d: the coefficients of each ion given their charges. These can be calculated by swapping a and b (crossing the charges).

ExampleInput
2 3
Output
3 2

加入题单

算法标签: