Quasinormal modes of Lovelock black holes