#PCBNAM0000015. Số nguyên có dấu cộng (Signed Integers with Plus Signs)
Số nguyên có dấu cộng (Signed Integers with Plus Signs)
Signed Integers with Plus Signs
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Read two integers and . Each input representation may start with a + or - sign. Print the normalized integer values, separated by one space.
Input
One line with the integer representations and , separated by whitespace.
Output
Print the two integer values and separated by one space.
Subtasks
- Subtask 1 — 100 points: . Each value contains digits and may have one leading
+or-sign.
Examples
Input
+5 -3
Output
5 -3
Explanation
The line contains two tokens, +5 and -3. Splitting produces those strings. int("+5") is and int("-3") is . Printing the integers gives 5 -3, without the optional plus sign.