#include <iostream>
using std::cout; using std::endl;
int main()
{
for (int chicken = 1; chicken != 88; ++chicken)
{
int rabbit = 88 - chicken;
if (chicken * 2 + rabbit * 4 == 244)
{
cout << "鸡:" << chicken << "只;"
<< "兔子:" << rabbit << "只;" << endl;
return 0;
}
}
}