poj 1077 Eight