# Challenge 50 - The Wrong List Item
colours = ["red", "blue", "green", "yellow", "purple"]
position_text = input("Choose a position (1-5): ").strip()
if not position_text.isdigit():
    print("Enter a whole number from 1 to 5.")
else:
    position = int(position_text)
    if 1 <= position <= len(colours):
        print(f"Item: {colours[position - 1]}")
    else:
        print("Position must be from 1 to 5.")
