def get_color_marker(list, index):
    """The function takes parameter: capacity list and specific element of list"""
    """It returns a color assigned to that element"""
    if index < list[int(len(list) / 3)]:
        return 'ro'
    elif index < list[int(len(list) / 3 * 2)]:
        return 'go'
    else:
        return 'yo'
