1394 A+B=C
Submit solution
Points:
100
Time limit:
1.0s
Memory limit:
32M
Problem types
Allowed languages
C, C++, Java, Python
Description
Input c,Output a and b in that rules: 1)a + b = c,2) b>=a && b-a is minimum.
Input
Each line is a signed 32bit integer c.
Output
Output just one pair of signed 32bit integers a and b.
Sample
Input
17
10
Output
8 9
5 5
Source: moonlight
Comments