there n people sit line table for person know tell truth lieslittle Serge ask tell truth each people table know honest person liar people table the honest people go correct answer liar go integer 1 n correct answer every liar choose answer regardless liar distinct liar distinct answerSerge know information people answer question he take piece paper write n integer a1a2an ai answer ith person row give sequence Serge determine exactly k people sit table apparently lieSerge wonder variant people answer sequence answer length n exactly k people sit table apparently lie as describe variant answer count remainder dividing number variant 777777777