#include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
string st;
int a[250][2],x,y;int main(){
cin>>st; for(int i=0;i<st.length();++i){
x=int(st[i]);
a[x][0]++; a[x][1]=i; }
x=0,y=100005; for(int i=97;i<=122;++i){
if(a[i][0]==1&&a[i][1]<y){
x=i;
y=a[i][1]; }
}
if(y==100005) cout<<"no";
else cout<<char(x);
return 0;
}