package demo_1119;
import java.io.InputStream;
public class demo02 {
public demo02() {
// TODO Auto-generated constructor stub
}
//产在Int胡恒说
//按照从右到做的与读书徐,返回一个不很重复数字的心的整数
//输入:9876673 //输出:37689
InputStream in=System.in();
int avaable=in.available()-1;
char[] chars=new char[avaiablene];
while(avaliable-->0) {
chars[avaiable]=(char) in.read();
}
StringBuilder result=new StringBuilder();
for(int i=0;i<chars.length;i++) {
if(result.lastIndexOf(String.valueOf(chars[i])!=-1)) {
continue;
}
resual.append(chars[i]);
}
System.out.println(reusl.toString());
}