def translateToHex(key):
    return {'273': 76, '274': 77, '275': 78, '276': 79, '46': 57, '47': 58, '115': 33, '119': 17, '100': 34, '97': 32, '102': 35, '114': 19, '104': 37, '32': 64, '111': 24, '27': 69}.get(key, 0)
def translateToHex(key):
    return {'273': 76, '274': 77, '275': 78, '276': 79, '46': 57, '47': 58, '115': 33, '119': 17, '100': 34, '97': 32, '102': 35, '114': 19, '104': 37, '32': 64, '111': 24, '27': 69}.get(key, 0)