def center_text(baseline, text):
    """Return a string with the centered text over a baseline"""
    gap = len(baseline) - (len(text) + 2)
    a1 = int(gap / 2)
    a2 = gap - a1
    return '{} {} {}'.format(baseline[:a1], text, baseline[-a2:])