#!/usr/bin/env python
#-*- encoding: gbk -*-
def _is_(key):
    feedback=None
    _is_file=open("cache/_is_.txt","r")
    while 1:
        _is_info=_is_file.readline().strip('\n')
        if not _is_info:
            break
        _is=_is_info[:_is_info.index('ÊÇ')]
        is_=_is_info[_is_info.index('ÊÇ')+2:]
        if key == _is :
            for i in range(0,len(_is_info)/2,2):
                if _is_info[i:i+2]=='ÎÒ':
                    _is_info=_is_info[0:i]+'Äã'+_is_info[i+2:]
                elif _is_info[i:i+2]=='Äã':
                    _is_info=_is_info[0:i]+'ÎÒ'+_is_info[i+2:]
            feedback = _is_info
            break
        elif key == is_:
            for i in range(0,len(_is)/2,2):
                if _is[i:i+2]=='ÎÒ':
                    _is=_is[0:i]+'Äã'+_is[i+2:]
                elif _is[i:i+2]=='Äã':
                    _is=_is[0:i]+'ÎÒ'+_is[i+2:]
            feedback = _is
            break
    _is_file.close
    return feedback
if __name__=='__main__':
    info=raw_input('ÎÒÄÜÎªÄã×öÐ©Ê²Ã´£¿')
    if info[:4]=='É¶ÊÇ' or info[:6]=='Ê²Ã´ÊÇ' or info[:4]=='Ë­ÊÇ':
        info=info[info.index('ÊÇ')+1:]
        _is_(info)
    elif info[-4:]=='ÊÇÉ¶' or info[-6:]=='ÊÇÊ²Ã´' or info[-4:]=='ÊÇË­':
        info=info[:info.index('ÊÇ')]
        _is_(info)
