a[999],s,t;main(x){for(;(x=getchar())-10;s+=++a[x]==2)t^=1<