#include<iostream>
#include<stdio.h>
using namespace std;
void solve()
{
int a, b, c, d, e, f;
int y, z;
for (a = 1; a <= 5; a++)
{
for (b = 0; b <= 5; b++)
{
for (c = 0; c <= 5; c++)
{
for (d = 1; d <= 5; d++)
{
for (e = 0; e <= 5; e++)
{
for (f = 0; f <= 5; f++)
{
y = a* 100 + b*10 + c;//鸡的脚数
z = d*100 + e * 10 + f;//兔的脚数
i