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’.

[EX Q]: Dont talk to him ever ok its my word.
[EX A]: ham

[EX Q]: 25p 4 alfie Moon's Children in need song on ur mob. Tell ur m8s. Txt Tone charity to 8007 for Nokias or Poly charity for polys: zed 08701417012 profit 2 charity.
[EX A]: spam

[EX Q]: Yeah I think my usual guy's still passed out from last night, if you get ahold of anybody let me know and I'll throw down
[EX A]:
ham