read n for((i=2;i<9999;n%i?b=!++i:(n/=i,a^=b^++b))){ :;} Bob echo ${_[a^n>1]-Alice}