IF message contains call  AND
     IF message contains mobile  THEN
         type = spam
     IF message does not contain mobile  AND
         IF message contains claim  THEN
             type = spam
         IF message does not contain claim  AND
             IF message contains landline  THEN
                 type = spam
             IF message does not contain landline  AND
                 IF message contains text  THEN
                     type = spam
                 IF message does not contain text  AND
                     IF message contains free  THEN
                         type = spam
                     IF message does not contain free  AND
                         IF message contains private  THEN
                             type = spam
                         IF message does not contain private  AND
                             IF message contains message  AND
                                 IF message contains please  THEN
                                     type = spam
                                 IF message does not contain please  THEN
                                     type = ham
                             IF message does not contain message  AND
                                 IF message contains 50  THEN
                                     type = spam
                                 IF message does not contain 50  AND
                                     IF message contains booked  THEN
                                         type = spam
                                     IF message does not contain booked  AND
                                         IF message contains contact  THEN
                                             type = spam
                                         IF message does not contain contact  AND
                                             IF message contains luv  THEN
                                                 type = spam
                                             IF message does not contain luv  AND
                                                 IF message contains visit  THEN
                                                     type = spam
                                                 IF message does not contain visit  AND
                                                     IF message contains miss  THEN
                                                         type = spam
                                                     IF message does not contain miss  THEN
                                                         type = ham
 IF message does not contain call  AND
     IF message contains free  AND
         IF message contains ü  THEN
             type = ham
         IF message does not contain ü  AND
             IF message contains ah  THEN
                 type = ham
             IF message does not contain ah  AND
                 IF message contains oso  THEN
                     type = ham
                 IF message does not contain oso  AND
                     IF message contains hav  THEN
                         type = ham
                     IF message does not contain hav  AND
                         IF message contains txt  THEN
                             type = spam
                         IF message does not contain txt  AND
                             IF message contains text  THEN
                                 type = spam
                             IF message does not contain text  AND
                                 IF message contains send  THEN
                                     type = spam
                                 IF message does not contain send  THEN
                                     type = spam
     IF message does not contain free  AND
         IF message contains txt  AND
             IF message contains tomorrow  THEN
                 type = ham
             IF message does not contain tomorrow  THEN
                 type = spam
         IF message does not contain txt  AND
             IF message contains text  AND
                 IF message contains time  THEN
                     type = ham
                 IF message does not contain time  AND
                     IF message contains phone  THEN
                         type = ham
                     IF message does not contain phone  AND
                         IF message contains yes  THEN
                             type = ham
                         IF message does not contain yes  AND
                             IF message contains luv  THEN
                                 type = ham
                             IF message does not contain luv  AND
                                 IF message contains shit  THEN
                                     type = ham
                                 IF message does not contain shit  THEN
                                     type = spam
             IF message does not contain text  AND
                 IF message contains currently  THEN
                     type = spam
                 IF message does not contain currently  AND
                     IF message contains cost  AND
                         IF message contains apply  THEN
                             type = ham
                         IF message does not contain apply  AND
                             IF message contains month  THEN
                                 type = ham
                             IF message does not contain month  THEN
                                 type = spam
                     IF message does not contain cost  AND
                         IF message contains 50  THEN
                             type = spam
                         IF message does not contain 50  AND
                             IF message contains rate  THEN
                                 type = spam
                             IF message does not contain rate  AND
                                 IF message contains http  THEN
                                     type = spam
                                 IF message does not contain http  AND
                                     IF message contains lost  AND
                                         IF message contains thanks  THEN
                                             type = ham
                                         IF message does not contain thanks  THEN
                                             type = spam
                                     IF message does not contain lost  AND
                                         IF message contains station  AND
                                             IF message contains news  THEN
                                                 type = spam
                                             IF message does not contain news  THEN
                                                 type = ham
                                         IF message does not contain station  AND
                                             IF message contains girls  AND
                                                 IF message contains story  THEN
                                                     type = spam
                                                 IF message does not contain story  THEN
                                                     type = ham
                                             IF message does not contain girls  THEN
                                                 type = ham