#!/usr/bin/env python
from base64 import *
from sys import *

try:
  while (True):
    stdout.write (b64decode(stdin.next()))
except StopIteration, e:
  pass
