import base64, sys
print(base64.b64encode(sys.stdin.read().encode('utf-16-le')).decode())
