#include <iostream>
using namespace std;

int main() {
    int a,b,c;
    a=1;
    b=0;c=0;
    int n1,n2;
    int n;
    for(a=1;a<10;a++){
        for(b=0;b<10;b++){
            for(c=0;c<10;c++){
                n1=100*a+10*b+c;
                n2=100*b+10*c+c;
                n=n1+n2;//cout<<n<<" ";
                if(n==532)cout<<a<<" "<<b<<" "<<c;
            }
        }
    }
}
// 64 位输出请用 printf("%lld")