403557: GYM101193 H A+B

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

Description

H. A+Btime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output

"We need to add a really simple task to the contest."

"A + B?"

"Yeah, sounds good."

"Will add in a moment."

...

"I've added it, but there is a problem."

"What?"

"I accidentally removed all the tests and only answers are left :("

"No worries, just upload them as tests."

"Um... What the task is about then?"

"Given the sum find a and b."

Input

The first input line contains one integer number s.

Output

Output two integer numbers a and b, such that a + b = s and |a|, |b| ≤ 1018. It is guaranteed that for the given s there is a solution within the limits. If several solution exist, output any.

ExampleInput
43
Output
42 1

加入题单

算法标签: