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

Example Input: "Petey boy whereare you me and all your friendsare in theKingshead come down if you canlove Nic"
Example Output: ham

Example Input: Havent planning to buy later. I check already lido only got 530 show in e afternoon. U finish work already?
Example Output: ham

Example Input: On the road so cant txt
Example Output:
ham