Pošljite SMS: Convexity and graph theory