PHƯỚC HƯNG OJ · THỬ THÁCH THUẬT TOÁN

#PCBNAM0000015. Số nguyên có dấu cộng (Signed Integers with Plus Signs)

HỌC THEO LỘ TRÌNH

Bài tập thuộc lộ trình

2 lộ trình

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 AA and BB. 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 AA and BB, separated by whitespace.

Output

Print the two integer values AA and BB separated by one space.

Subtasks

  • Subtask 1 — 100 points: −109≤A,B≤109-10^9\le A,B\le10^9. 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 55 and int("-3") is −3-3. Printing the integers gives 5 -3, without the optional plus sign.