Відправити по sms: Greedy algorithms and Zipf laws