#include <bits/stdc++.h>
using namespace std;
int main(){
int i;
for(i = 100;i <= 999;i++){
if(i/10%10>i/100&&i/10%10>i%10){
cout<<i<<endl;
}
}
}
/**************************************************************
Problem: 1748
User: linzihang
Language: C++
Result: Accepted
Time:14 ms
Memory:2072 kb
****************************************************************/