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

[Q]: URGENT! Your Mobile No. was awarded £2000 Bonus Caller Prize on 5/9/03 This is our final try to contact U! Call from Landline 09064019788 BOX42WR29C, 150PPM
[A]: spam


[Q]: My sort code is  and acc no is . The bank is natwest. Can you reply to confirm i've sent this to the right person!
[A]: ham


[Q]: K.k:)advance happy pongal.
[A]:
ham