Each of 10 students has a ticket to one of 10 chairs in a row at a theatre. How many ways are there to seat the students so that each student sits either in the chair specified on his/her ticket or in one right next to it?
valid question