Cho n tìm a + b = n

View as PDF

Submit solution

Points: 0.10 (partial)
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Author:
Problem type

Cho n là một số nguyên với ~n \ge 0~. In ra hai số tự nhiên a và b bất kỳ sao cho ~a + b = n~

Nếu in ra hai số a và b đều lớn hơn hoặc bằng 0 thì được 100% số điểm, nếu một trong 2 số a hoặc b âm thì được 50% số điểm của test case đó.

Input

Chứa 1 số nguyên duy nhất là ~n~

Ouput

Chứa 2 số ~a~ và ~b~ là đáp án của đề bài.

Example input

10

Example output

1 9

Comments

Please read the guidelines before commenting.


There are no comments at the moment.