def formated_year(year, accuracy):
    """
    This function will create a standard formated year
    """
    if accuracy == 'EXACT':
        return str(year)
    elif accuracy in ['ABOUT', 'BETWEEN']:
        return 'ca ' + str(year)
    elif accuracy == 'AFTER':
        return 'aft. ' + str(year)
    elif accuracy == 'BEFORE':
        return 'bef. ' + str(year)
