input: from typing import List
  
  def move_zeroes(lst: List[int]) -> List[int]:
      """Move all zeroes in the list to the end of the list and return the modified list.
      >>> move_zeroes([3, 0, 1, 0, 5, 0, 2])
      [3, 1, 5, 2, 0, 0, 0]
      """
output:     count = lst.count(0)
      lst = [x for x in lst if x != 0]
      lst.extend([0] * count)
      return lst