import std.stdio;void main(){auto s=readln;for(int i=2;~i--;)foreach(c;s)(*s>c)-(*s<c)-i||putchar(c);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page