Roger is buying his friends Victor and Jacky presents! He has a budget of to buy the two presents with. The satisfiability is equal to the product of the amount of money spent on Victor's present multiplied by the amount of money spent on Jacky's present. What partitioning of the budget will result in the greatest satisfiability?
Hint: The satisfiability can be expressed as a function . This is a quadratic curve, and has a maximum value at .
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
4
Sample Output 1
$2.00 $2.00
Sample Input 2
1
Sample Output 2
$0.50 $0.50
Comments