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.
Details
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.
Specs
- All in lowercase. All matches regex
^[a-z]+$
.
Scoring
This is code-golf. Shortest solution in bytes wins.
Tips
There is a trick.
is input in this set
. \$\endgroup\$input.length % 2
is even less interesting... \$\endgroup\$Melancholy
is an adjective. \$\endgroup\$