Sort the following animal groups into vertebrates and invertebrates
Input: Fish, Spider, Snake, Bat
Vertebrates: Fish, Snake, Bat 
Invertebrates: Spider
Vertebrates: Fish, Bat 
Invertebrates: Spider, Snake.