Zaslat SMS: Kazhdan and Haagerup properties from the median viewpoint