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 Input:
Get down in gandhipuram and walk to cross cut road. Right side &lt;#&gt; street road and turn at first right.

Ex Output:
ham


Ex Input:
Ah poop. Looks like ill prob have to send in my laptop to get fixed cuz it has a gpu problem

Ex Output:
ham


Ex Input:
Yup, no need. I'll jus wait 4 e rain 2 stop.

Ex Output:

ham