Help me in solving PREQ02 problem

My issue

Traceback (most recent call last):
File “/mnt/sol.py”, line 1, in
S = [Abcd]

My code

S = [Abcd]
print ("S")

Learning course: Design and Analysis of Algorithms
Problem Link: How to accept inputs in Design and Analysis of Algorithms