read while read x y;do ((a^=b[x%2*2+y%2]++)) done Bob echo ${_[a%2]-Alice}