During online gaming (or any video game that requires teamwork) , there is often times that you need to speak to your teammates. Given the nature of the game, it may be inconvenient to say full sentences and it's for this reason that a lot of games have acronyms in place of sentences that are regularly said.
gg : expands to 'Good Game' brb : expands to 'be right back' and so on... This is even evident on IRC's and other chat systems. However, all this abbreviated text can be confusing and intimidating for someone new to a game. They're not going to instantly know what 'gl hf all'(good luck have fun all) means. It is with this problem that you come in. You are tasked with converting an abbreviated sentence into its full version. #Inputs & Outputs ##Input On console input you will be given a string that represents the abbreviated chat message. ##Output Output should consist of the expanded sentence ##Wordlist Below is a short list of acronyms paired with their meaning to use for this challenge.
lol - laugh out loud
dw - don't worry
hf - have fun
gg - good game
brb - be right back
g2g - got to go
wtf - what the fuck
wp - well played
gl - good luck
imo - in my opinion
#Sample cases ##input wtf that was unfair ##output 'what the fuck that was unfair' ##input gl all hf ##output 'good luck all have fun' #Test case ##input imo that was wp. Anyway I've g2g ##output ????