#include <iostream>
using namespace std;
unsigned long long x;
short fc[10], cif, gasit=0;
int main()
{
cout << "x= "; cin >> x;
if (x==0) fc[0]=1;
while (x)
{
cif=x%10;
++fc[cif];
x=x/10;
}
for (cif=0; cif<10; ++cif)
if (fc[cif]==1) { gasit=1; cout << cif << " "; }
if (gasit==0) cout << "nu exista...";
}