#include <iostream>
using namespace std;
int main()
{Â Â
   unsigned x; Â
   do{     Â
        cout<<"Introduceti un nr de 3 cifre: ";     Â
        cin>>x;
      } while(x<100 or x>999);        Â
  x=x/100*10+x%10; Â
  cout<<x;
  return 0;}