P25468 [AtCoder] [ABC012A] Swap
入门
题目描述

Problem Description

You are given two integers, $ A $ and $ B $.

After swapping the values of $ A $ and $ B $, output $ A $ and $ B $.

Input Format

The input is given from the standard input in the following format:

$ A $ $ B $

  • The first line contains two integers $A,\ B\ (1\ ≦\ A,\ B\ ≦\ 100)$.

Output Format

Output the swapped values of $ A $ and $ B $ in one line separated by a space. Ensure to include a newline at the end of the output.

Sample Input and Output

Sample Input #1

1 2

Sample Output #1

2 1

Sample Input #2

5 5

Sample Output #2

5 5

Notes/Hints

Sample Explanation 1

Initially, $A\ =\ 1$ and $B\ =\ 2$. After swapping $ A $ and $ B $, we get $A\ =\ 2$ and $B\ =\ 1$.

Sample Explanation 2

When the same number is given as input, swapping the numbers does not change the result.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
1 2
样例输出
2 1