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]: Your credits have been topped up. Your renewal Pin is tgxxrz
[EX A]: spam

[EX Q]: Dear reached railway. What happen to you
[EX A]: ham

[EX Q]: More people are dogging in your area now. Call 09090204448 and join like minded guys. Why not arrange 1 yourself. There's 1 this evening. A£1.50 minAPN LS278BB
[EX A]:
spam