#ENGLISHP10. Chickens and Rabbits
Chickens and Rabbits
Description
In the yard were C chickens and R rabbits. Each chicken has one head and two legs. Each rabbit has one head and four legs. There are total 27 heads and 86 legs in the yard. Calculate C and R.
Input Format
N/A
Output Format
Two integers C and R.
N/A
not provided