#include <iostream>
using namespace std;
int main() {
int i;
for (i = 100; i <= 999; i++)
{
int cif_sute = i / 100;
int cif_zeci = (i % 100) / 10;
int cif_unit = i % 10;
if (cif_sute < cif_zeci and cif_zeci < cif_unit)
cout << i << " ";
}
return 0;
}