Time Limit: 1000MS
Memory Limit: 65536KB
Problem Description
Xuanhuang: Wow, three cute boys. Are they all your sons, ldq?
ldq: Yes.
Xuanhuang: How old are your three sons?
ldq: Just telling you is lack of fun, let me try your IQ.
Xuanhuang: Piece of cake, come on~
ldq: The product of their age equals to 36.
Xuanhuang: Anything else?
ldq: The sum of their age equals to how many bottles of beer we have drunk.
Xuanhuang: Emmm...well, but I still can't make it for sure. Any other clue?
ldq: Have you seen my eldest son?
Xuanhuang: Yes. A very clever boy. Another two will grow up just like him, I think. But why is he wearing a green hat... Oh, I see! How could I not realize it? Now I clearly know the age of your sons!
Now you tell me, what is the age of ldq's sons?
Input
No input.
Output
There are three lines of output. Please refer to the example output and the hint.
Example Input
Example Output
ldq's eldest son is 20. ldq's second son is 19. ldq's little son is 18.
Hint
Example output is a wrong answer, you should change it into the correct one. Each age is a positive integer.
注:示例只是为了展示输出格式,不是正确答案,你需要把示例中的数字替换为你的答案。
Author
#include <stdio.h>
int main ()
{
printf ("ldq's eldest son is 9.\n");
printf ("ldq's second son is 2.\n");
printf ("ldq's little son is 2.\n");
return 0;
}