Roger is buying his friends Victor and Jacky presents! He has a budget of
Hint: The satisfiability can be expressed as a function
Constraints
Input Specification
The input will contain a single integer,
Output Specification
Two space-separated numbers, the amount spent on the two presents, in any order, to two decimal places.
Sample Input 1
Copy
4
Sample Output 1
Copy
$2.00 $2.00
Sample Input 2
Copy
1
Sample Output 2
Copy
$0.50 $0.50
Comments