#P105. 【例19.1】 鸡兔同笼
【例19.1】 鸡兔同笼
Description
A cage contains chickens and rabbits (chickens have legs, rabbits have legs, and none are disabled). Given the total number of legs in the cage, determine the minimum and maximum number of animals that could be in the cage.
Input Format
One line containing a positive integer ().
Output Format
One line containing two positive integers, the first being the minimum number of animals and the second being the maximum number of animals, separated by a space. If there is no valid answer, output two s separated by a space.
Sample
205 10