#P238. 练39.3 鸡兔同笼

练39.3 鸡兔同笼

Description

According to "Sunzi Suanjing" (The Mathematical Classic of Sun Zi): "In a cage, there are chickens and rabbits. From above, we count 35 heads, and from below, we count 94 feet. How many chickens and rabbits are there?" In a cage, there are some chickens and rabbits. From above, we count 35 heads, and from below, we count 94 feet. How many chickens and rabbits are there?

Input Format

None.

Output Format

A single line containing the number of chickens and rabbits.

Sample

None
Chickens: 23 Rabbits: 12