TASK DEFINITION: Given a category and a set of five words, find the word from the set that does not belong (i.e. is the least relevant) with the other words in the category. Words are separated by commas.
PROBLEM: Category: type of sandwich 
Words: submarine, burger, bar, lettuce, club

SOLUTION: bar

PROBLEM: Category: chocolate food 
Words: cake, fudge, rich, invent, cream

SOLUTION: invent

PROBLEM: Category: police punishment 
Words: hearing, flyaway, annoyed, firstrate, fine

SOLUTION:
annoyed