import base64 print(base64.b64encode(bytes(input(""),'utf-8')).decode('utf-8'))