#include <iostream>
using namespace std;
int main()
{
int a, b, c;
cout << "a,b,c均为一位数";
for (a = 0;a <= 9;a++)
for (b = 0;b <= 9;b++)
for (c = 0;c <= 9;c++)
if ((a * 100 + b * 10 + c) + (c * 100 + b * 10 + a) == 1333)
cout << a << b << c << '\n';
return 0;
}