def color_to_notation(color):
    """Help function for converting colors to notation used by solver."""
    notation = {
        'green': 'F',
        'white': 'U',
        'blue': 'B',
        'red': 'R',
        'orange': 'L',
        'yellow': 'D'
    }
    return notation[color]