In this task, you're given text messages in natural language. Your task is to classify those text messages based on their content into two classes: (1) Spam and (2) Ham messages. If the content of the given message is irrelevant to the receiver or is equally relevant to many other potential recipients then it must be labeled as ‘spam’, otherwise, it should be labeled as ‘ham’.

Input: Consider Input: My love ! How come it took you so long to leave for Zaher's? I got your words on ym and was happy to see them but was sad you had left. I miss you

Output: ham


Input: Consider Input: Then why no one talking to me

Output: ham


Input: Consider Input: Our brand new mobile music service is now live. The free music player will arrive shortly. Just install on your phone to browse content from the top artists.


Output: spam