You are trying to guess my emotion.
I will give you an adjective, as the input to the function/program.
Your task is to output my emotion, either
:) for happy, or
:( for sad.
For these adjectives, you must output the happy face
contented delighted merry overjoyed pleased blessed chipper content convivial gleeful gratified intoxicated jolly light peppy perky playful sparkling sunny
For these adjectives, you must output the sad face
melancholy bitter somber dismal mournful blue dejected despairing despondent disconsolate distressed down downcast gloomy glum heavyhearted lugubrious morbid morose troubled bereaved
Other adjectives are undefined. You may output whatever you want for other adjectives.
- All in lowercase. All matches regex
This is code-golf. Shortest solution in bytes wins.
There is a trick.
is input in this set. \$\endgroup\$
input.length % 2is even less interesting... \$\endgroup\$
Melancholyis an adjective. \$\endgroup\$