409 - Ages Again
Ages Again
Time Limit: 1 sec
The Problem
The sum of ages of a father and his daughter is X years. Father's age is four times the age of the daughter. What are their ages ?
Example:
if X = 80 then
Father's age is 64 years and daughter's age is 16 years.
The Input
Input file contain a series of line, each line contain one integer number X (X<=10000). Input is terminated by EOF.
The Output
For each line of input, output will show two integer numbers first one is father's and second one is daughter's age which are seperate by space in a separate line.
Sample Input
80
25
40
Sample Output
64 16
20 5
32 8
Problem Setter: Shahin ShamS