#PCBNAM0000014. Dấu phẩy kèm khoảng trắng (Comma-Separated Integers with Spaces)

Dấu phẩy kèm khoảng trắng (Comma-Separated Integers with Spaces)

Comma-Separated Integers with Spaces

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

Two integers AA and BB are provided on one line, separated by a comma. There may be multiple spaces after the comma. Convert both fields to integers, then print them on one line separated by a single space.

Input

One line contains AA, a comma, and BB; whitespace may surround the two integers.

Output

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

Subtasks

  • Subtask 1 — 100 points: −109≤A,B≤109-10^9\le A,B\le10^9.

Examples

Input

-7,   +0

Output

-7 0

Explanation

Calling split(",") produces two strings, "-7" and " +0". The int() conversion produces −7-7 and accepts both the leading spaces and the plus sign in the second token, producing integer 00. The output is -7 0, without a comma.