Help me in solving PYTHCL102B problem

My issue

colors = [‘red’, ‘green’, ‘blue’]
colors.insert(0,input())
colors.insert(2,input())
print(colors)
input : black purple
but i have get Runtime Error help me please for solution

My code

# Update the code below to solve the problem

colors = ['red', 'green', 'blue']
colors.insert(0,input())
colors.insert(2,input())
print(colors)

Learning course: Learn Python Programming
Problem Link: https://www.codechef.com/learn/course/rcpit-python/RCPITPY24/problems/PYTHCL102B