#! /usr/bin/python import base64 import sys print base64.b64encode(sys.stdin.read())