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.
输入
N/A
输出
Two integers C and R.
样例输入
N/A
样例输出
not provided
在一个院子里有c只鸡和r只兔。每只鸡有一个头和两条腿,每只兔有一个头和四条腿。在院子里共有27个头和86条腿,计算c和r;
输入
输出
两个整数c和r