Easy Approach
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution:\n    def countStudents(self, students: List[int], sandwiches: List[int]) -> int:\n        while(len(students)!=0):\n            if(sandwiches[0] not in students):\n                return(len(students))\n            if(students[0]==sandwiches[0]):\n                students.pop(0)\n                sandwiches.pop(0)\n            else:\n                a=students.pop(0)\n                students.append(a)\n        return(len(students))\n\n                \n```
['Array', 'Stack', 'Queue', 'Python3']