#include <iostream>
using namespace std;
int main()
{
short cifra, s, u, num;
cout << "cifra= "; cin >> cifra;
cout << "exista " << 90 << " numere de 3 cifre ce au cifra zecilor cifra data \n";
cout << " Ele sunt urmatoaele: \n";
for (s=1; s<10; ++s )
{
for (u=0; u<10; ++u)
{
num=s*100+cifra*10+u;
cout << num << " ";
if (u==9) cout << "\n";
}
}
}