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: Thank you, winner notified by sms. Good Luck! No future marketing reply STOP to 84122 customer services 08450542832

Output: spam


Input: Consider Input: idc get over here, you are not weaseling your way out of this shit twice in a row

Output: ham


Input: Consider Input: Thursday night? Yeah, sure thing, we'll work it out then


Output: ham