<filename>training/test5.py<gh_stars>0
def emoji(x):
    word = message.split(" ")
    dict = {':)' : '😀', ':(': '😣'}
    output=''
    for di in dict:
        output+=dict.get(di,di)
        return output


message=raw_input()
print(emoji(message))
<filename>training/test5.py<gh_stars>0
def emoji(x):
    word = message.split(" ")
    dict = {':)' : '😀', ':(': '😣'}
    output=''
    for di in dict:
        output+=dict.get(di,di)
        return output


message=raw_input()
print(emoji(message))