var countStudents = function(students, sandwiches) {
while(students.includes(sandwiches[0])) {
if(students[0] === sandwiches[0]) {
students.shift()
sandwiches.shift()
} else {
students.push(students.shift())
}
}
return students.length
};