#include <iostream> using namespace std; int main() { for(int h =1;h<9;++h) { for(int t =0;t<9;++t) { for(int u =2;u<10;++u) { if((u>h)&&(h>t)&&(h+t+u==h*t*u)) { cout<<h*100+t*10+u<<endl; } } } } return 0; }